play
类 Logger.JuliToLog4jHandler

java.lang.Object
  继承者 java.util.logging.Handler
      继承者 play.Logger.JuliToLog4jHandler
包容类:
Logger

public static class Logger.JuliToLog4jHandler
extends java.util.logging.Handler

juli handler that Redirect to log4j


构造方法摘要
Logger.JuliToLog4jHandler()
           
 
方法摘要
 void close()
           
 void flush()
           
static org.apache.log4j.Logger getTargetLogger(java.lang.Class<?> clazz)
           
 void publish(java.util.logging.LogRecord record)
           
 
从类 java.util.logging.Handler 继承的方法
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Logger.JuliToLog4jHandler

public Logger.JuliToLog4jHandler()
方法详细信息

publish

public void publish(java.util.logging.LogRecord record)
指定者:
java.util.logging.Handler 中的 publish

getTargetLogger

public static org.apache.log4j.Logger getTargetLogger(java.lang.Class<?> clazz)

flush

public void flush()
指定者:
java.util.logging.Handler 中的 flush

close

public void close()
指定者:
java.util.logging.Handler 中的 close


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly