|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.util.NullLogSink
Constructor Summary | |
NullLogSink()
|
Method Summary | |
java.lang.String |
getOptions()
|
boolean |
isStarted()
|
void |
log(java.lang.String formattedLog)
Log a message. |
void |
log(java.lang.String tag,
java.lang.Object msg,
Frame frame,
long time)
Log a message. |
void |
setOptions(java.lang.String options)
Set the log options. |
void |
start()
Start the LifeCycle. |
void |
stop()
Stop the LifeCycle. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullLogSink()
Method Detail |
public void setOptions(java.lang.String options)
LogSink
setOptions
in interface LogSink
options
- A string of characters as defined for the
LOG_OPTIONS system parameter.public java.lang.String getOptions()
getOptions
in interface LogSink
public void log(java.lang.String tag, java.lang.Object msg, Frame frame, long time)
LogSink
log
in interface LogSink
tag
- Tag for type of logmsg
- The messageframe
- The frame that generated the message.time
- The time stamp of the message.public void log(java.lang.String formattedLog)
LogSink
log
in interface LogSink
formattedLog
- public void start()
LifeCycle
start
in interface LifeCycle
public void stop()
LifeCycle
stop
in interface LifeCycle
public boolean isStarted()
isStarted
in interface LifeCycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |