public static class LogConfig.SubLogger
extends java.lang.Object
Constructor and Description |
---|
SubLogger() |
Modifier and Type | Method and Description |
---|---|
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
|
public void setId(java.lang.String name)
public void setName(java.lang.String name)
public java.lang.String getName()
public void setUseParentHandlers(boolean useParentHandlers) throws ConfigException
ConfigException
public java.util.logging.Logger getLogger()
public java.util.logging.Level getLevel()
public void setLevel(java.lang.String level) throws ConfigException
ConfigException
public void setHandler(java.util.logging.Handler handler)
public java.util.logging.Handler getHandler()
@PostConstruct public void init() throws ConfigException
ConfigException