|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--irssibot.util.log.NullLog
Null logger; discards all log messages.
| Field Summary | |
private java.util.Properties |
properties
Init properties |
| Fields inherited from interface irssibot.util.log.CommonLog |
PROPERTY_FILE_PATH_PROPERTY_NAME |
| Constructor Summary | |
NullLog()
|
|
| Method Summary | |
java.lang.String |
getPropertyFilePath()
Returns path for property file from which this CommonLog was initialized. |
void |
init(java.util.Properties properties)
Initializes this logger. |
void |
logMessage(java.lang.String message)
Does nothing. |
void |
stop()
Stops and deinits this logger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Properties properties
| Constructor Detail |
public NullLog()
| Method Detail |
public void init(java.util.Properties properties)
init in interface CommonLogproperties - init properties, or null if none suppliedpublic void stop()
stop in interface CommonLogpublic java.lang.String getPropertyFilePath()
getPropertyFilePath in interface CommonLog
public void logMessage(java.lang.String message)
throws LogException
logMessage in interface CommonLogmessage - preformatted log message to be written as it is
LogException - if logging error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||