play
Class Logger.JuliToLog4jHandler
java.lang.Object
java.util.logging.Handler
play.Logger.JuliToLog4jHandler
- Enclosing class:
- Logger
public static class Logger.JuliToLog4jHandler
- extends Handler
juli handler that Redirect to log4j
| 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 |
Logger.JuliToLog4jHandler
public Logger.JuliToLog4jHandler()
publish
public void publish(LogRecord record)
- Specified by:
publish in class Handler
getTargetLogger
public static org.apache.log4j.Logger getTargetLogger(Class clazz)
flush
public void flush()
- Specified by:
flush in class Handler
close
public void close()
- Specified by:
close in class Handler
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly