com.caucho.log
Class LoggerConfig

java.lang.Object
  extended by com.caucho.log.LoggerConfig

public class LoggerConfig
extends java.lang.Object

Environment-specific java.util.logging.Logger configuration.


Constructor Summary
LoggerConfig()
           
LoggerConfig(boolean isSkipInit)
           
 
Method Summary
 void add(java.util.logging.Filter filter)
           
 void add(java.util.logging.Handler handler)
           
 void init()
          Initialize the logger
 void initImpl()
          Should be run with system classloader
 void setLevel(java.lang.String level)
          Sets the output level.
 void setName(java.lang.String name)
          Sets the name of the logger to configure.
 void setUseParentHandlers(boolean useParentHandlers)
          Sets the use-parent-handlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerConfig

public LoggerConfig()

LoggerConfig

public LoggerConfig(boolean isSkipInit)
Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the logger to configure.


setUseParentHandlers

public void setUseParentHandlers(boolean useParentHandlers)
Sets the use-parent-handlers


setLevel

public void setLevel(java.lang.String level)
              throws ConfigException
Sets the output level.

Throws:
ConfigException

add

public void add(java.util.logging.Handler handler)

add

public void add(java.util.logging.Filter filter)

init

@PostConstruct
public void init()
Initialize the logger


initImpl

public void initImpl()
Should be run with system classloader