|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoggerEx
LoggerEx interface, extends ILogger interface.
Method Summary | |
---|---|
boolean |
canLogMessage(LogLevel level)
Determines if given level is enough for logging in current configuration. |
LoggerEx |
createChildLoggerEx(java.lang.String name)
Creates a new child logger. |
java.lang.String |
getName()
Returns name of the logger |
RootLogger |
getRootLogger()
Gets instance of root logger. |
void |
write(int messageId,
java.lang.Object[] args)
This method extracts the template for formatting messages (by messageId) from lms file(s) and creates the message using information from that template. |
void |
write(LogEntry entry)
Writes the passed LogEntry to all outputs. |
Methods inherited from interface com.genesyslab.platform.commons.log.ILogger |
---|
createChildLogger, debug, debug, debugFormat, error, error, errorFormat, fatalError, fatalError, fatalErrorFormat, info, info, infoFormat, isDebug, isError, isFatalError, isInfo, isWarn, warn, warn, warnFormat |
Method Detail |
---|
java.lang.String getName()
LoggerEx createChildLoggerEx(java.lang.String name) throws LoggerException
name
- The Subname of this logger
LoggerException
void write(int messageId, java.lang.Object[] args)
messageId
- The of message to be wriitenargs
- Additional argumentsvoid write(LogEntry entry)
entry
- The LogEntry
which contains info about messageRootLogger getRootLogger()
boolean canLogMessage(LogLevel level)
level
- log level to check
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |