public static class LogService.DefaultHandler extends java.lang.Object implements LogHandler
Constructor and Description |
---|
LogService.DefaultHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
close()
The static ATHOS call back.
|
void |
init(java.util.Properties properties,
java.lang.String[] args) |
boolean |
log(long time,
long level,
long diffTime,
long threadId,
long sessionId,
java.lang.String logMessage)
The static ATHOS call back.
|
public void init(java.util.Properties properties, java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public boolean close()
LogHandler
close
in interface LogHandler
public boolean log(long time, long level, long diffTime, long threadId, long sessionId, java.lang.String logMessage)
LogHandler
log
in interface LogHandler
time
- the time of the log.diffTime
- the time difference to the last call.threadId
- the id of the ATHOS thread.sessionId
- the session id.logMessage
- the log message.