com.metamatrix.core.log
Class NullLogWriter

java.lang.Object
  extended by com.metamatrix.core.log.NullLogWriter
All Implemented Interfaces:
LogListener

public class NullLogWriter
extends java.lang.Object
implements LogListener

NullLogWriter to write no where..


Constructor Summary
NullLogWriter()
           
 
Method Summary
 void logMessage(LogMessage msg)
          Notifies this listener that given status has been logged.
 void shutdown()
          Shut down this listener, requesting it clean up and release any resources it may have acquired during its use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLogWriter

public NullLogWriter()
Method Detail

logMessage

public void logMessage(LogMessage msg)
Description copied from interface: LogListener
Notifies this listener that given status has been logged. The listener is free to retain or ignore this status.

Specified by:
logMessage in interface LogListener

shutdown

public void shutdown()
Description copied from interface: LogListener
Shut down this listener, requesting it clean up and release any resources it may have acquired during its use. The listener is free to ignore this request if it is not responsible for managing the resources it uses or if there are no resources.

Specified by:
shutdown in interface LogListener


Copyright © 2009. All Rights Reserved.