info.aduna.app.logging.base
Class LogConverterHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by info.aduna.app.logging.base.LogConverterHandler

public class LogConverterHandler
extends Handler

Handler to convert java.util.logging events to SLF4J logging events.

Author:
Herko ter Horst

Constructor Summary
LogConverterHandler()
           
 
Method Summary
 void close()
           
 void flush()
           
 void publish(LogRecord record)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogConverterHandler

public LogConverterHandler()
Method Detail

close

public void close()
           throws SecurityException
Specified by:
close in class Handler
Throws:
SecurityException

flush

public void flush()
Specified by:
flush in class Handler

publish

public void publish(LogRecord record)
Specified by:
publish in class Handler


Copyright © 2001-2012 Aduna. All Rights Reserved.