|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.log.Logger.Empty
Empty logger implementation.
Nested Class Summary |
Nested classes inherited from class com.evelopers.unimod.log.Logger |
Logger.Console, Logger.Empty |
Field Summary |
Fields inherited from interface com.evelopers.unimod.log.Logger |
CONSOLE, EMPTY |
Method Summary | |
void |
debug(java.lang.Object message)
Logs debug message |
void |
error(java.lang.Object message)
Logs error message |
void |
fatal(java.lang.Object message)
Logs fatal message |
Logger |
getLogger(java.lang.Class clazz)
Returns another logger for given class. |
Logger |
getLogger(java.lang.String name)
Returns another logger for given name. |
void |
info(java.lang.Object message)
Logs info message |
void |
warn(java.lang.Object message)
Logs warning message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Logger getLogger(java.lang.String name)
Logger
getLogger
in interface Logger
name
- new logger name
public Logger getLogger(java.lang.Class clazz)
Logger
getLogger
in interface Logger
clazz
- class to return logger for
public void info(java.lang.Object message)
Logger
info
in interface Logger
message
- message to logpublic void warn(java.lang.Object message)
Logger
warn
in interface Logger
message
- message to logpublic void debug(java.lang.Object message)
Logger
debug
in interface Logger
message
- message to logpublic void error(java.lang.Object message)
Logger
error
in interface Logger
message
- message to logpublic void fatal(java.lang.Object message)
Logger
fatal
in interface Logger
message
- message to log
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |