@Service @RunLevel(value=1) @Rank(value=50) public class LogManagerService extends Object implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, LogManager
| Constructor and Description |
|---|
LogManagerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(Handler handler)
Adds a new handler to the root logger
|
void |
generateAttributeChangeEvent(String property,
String propertyDetail,
Map props) |
PrintStream |
getErrStream() |
File |
getLoggingFile() |
Map<String,String> |
getLoggingProperties() |
PrintStream |
getOutStream() |
void |
postConstruct()
Initialize the loggers
|
void |
preDestroy() |
public Map<String,String> getLoggingProperties() throws IOException
getLoggingProperties in interface LogManagerIOExceptionpublic File getLoggingFile() throws IOException
getLoggingFile in interface LogManagerIOExceptionpublic void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void generateAttributeChangeEvent(String property, String propertyDetail, Map props)
public void addHandler(Handler handler)
LogManageraddHandler in interface LogManagerhandler - handler to be iadded.public void preDestroy()
preDestroy in interface org.glassfish.hk2.api.PreDestroypublic PrintStream getErrStream()
getErrStream in interface LogManagerpublic PrintStream getOutStream()
getOutStream in interface LogManagerCopyright © 2017. All rights reserved.