|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILogger
ILogger
| Method Summary | |
|---|---|
void |
disable()
Disable this logger. |
void |
enable()
Enable this particular logger. |
void |
event(java.lang.String category,
java.lang.Object event,
java.util.Date timestamp)
If enabled, log an event of the specified category. |
long |
getMask()
|
boolean |
isEnabled()
Return true if the logger is enabled |
boolean |
isLogging(long mask)
|
boolean |
isLogging(java.lang.String code)
|
void |
setMask(long mask)
|
void |
startLogging(java.lang.String category)
Start logging events of the specified category. |
void |
stopLogging(java.lang.String category)
Stop logging events of the specified category. |
| Method Detail |
|---|
long getMask()
void setMask(long mask)
boolean isLogging(long mask)
boolean isLogging(java.lang.String code)
void startLogging(java.lang.String category)
category - The category.void stopLogging(java.lang.String category)
category - The category.void enable()
void disable()
boolean isEnabled()
void event(java.lang.String category,
java.lang.Object event,
java.util.Date timestamp)
category - The category.event - The event, which is often just a simple string.timestamp - The time of the event was logged.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||