@Singleton @Configurable public class LogService extends java.lang.Object
Constructor and Description |
---|
LogService() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setEnable(boolean isEnable)
Deprecated.
|
void |
setExpireTimeout(Period period)
Sets the length of time the log entries will be saved before being
removed.
|
void |
setLevel(java.lang.String level)
Sets the level of records to capture, default is "info".
|
void |
setPath(java.lang.String path)
Deprecated.
|
@PostConstruct public void init()
@Deprecated @Configurable public void setEnable(boolean isEnable)
@Deprecated @Configurable public void setPath(java.lang.String path)
@Configurable public void setLevel(java.lang.String level) throws ConfigException
ConfigException
@Configurable public void setExpireTimeout(Period period)