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()
           
 
Method Summary
 void init()
          Initialize the logger.
 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()
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

init

public void init()
Initialize the logger.