|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object maslab.util.LoggerPublisher
public class LoggerPublisher
The base class of all LoggerPublishers.
Constructor Summary | |
---|---|
LoggerPublisher()
|
Method Summary | |
---|---|
void |
publish(java.lang.String name,
int level,
java.lang.String message)
Called when new data is published by any channel. |
void |
publishUnconditional(java.lang.String name,
int level,
java.lang.String message)
|
void |
setGlobalLevel(int threshold)
Set a new default threshold for publishing. |
void |
setLevel(java.lang.String channel,
int threshold)
Set a per-channel threshold for publishing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerPublisher()
Method Detail |
---|
public void publish(java.lang.String name, int level, java.lang.String message)
name
- The channel namelevel
- The levelmessage
- The message to be displayed.public void publishUnconditional(java.lang.String name, int level, java.lang.String message)
public void setGlobalLevel(int threshold)
threshold
- One of the static levels provided by the
Logger class.public void setLevel(java.lang.String channel, int threshold)
channel
- The channel namethreshold
- One of the static levels provided by the
Logger class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |