com.metamatrix.core.log
Class JavaLogWriter

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

public class JavaLogWriter
extends java.lang.Object
implements LogListener

Write to Java logging


Constructor Summary
JavaLogWriter()
           
 
Method Summary
 java.util.logging.Level convertLevel(int level)
           
 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

JavaLogWriter

public JavaLogWriter()
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

convertLevel

public java.util.logging.Level convertLevel(int level)

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.