com.caucho.log
Class LogConfig.SubLogger

java.lang.Object
  extended by com.caucho.log.LogConfig.SubLogger
Enclosing class:
LogConfig

public static class LogConfig.SubLogger
extends java.lang.Object


Constructor Summary
LogConfig.SubLogger()
           
 
Method Summary
 java.util.logging.Handler getHandler()
          Gets the handler.
 java.util.logging.Level getLevel()
          Gets the output level.
 java.util.logging.Logger getLogger()
          Gets the logger.
 java.lang.String getName()
          Gets the name of the logger to configure.
 void init()
           
 void setHandler(java.util.logging.Handler handler)
          Sets the handler.
 void setId(java.lang.String name)
          Sets the name of the logger to configure.
 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

LogConfig.SubLogger

public LogConfig.SubLogger()
Method Detail

setId

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


setName

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


getName

public java.lang.String getName()
Gets the name of the logger to configure.


setUseParentHandlers

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

Throws:
ConfigException

getLogger

public java.util.logging.Logger getLogger()
Gets the logger.


getLevel

public java.util.logging.Level getLevel()
Gets the output level.


setLevel

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

Throws:
ConfigException

setHandler

public void setHandler(java.util.logging.Handler handler)
Sets the handler.


getHandler

public java.util.logging.Handler getHandler()
Gets the handler.


init

@PostConstruct
public void init()
          throws ConfigException
Throws:
ConfigException