|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Log sink. This class represents both a concrete or abstract sink of Log data. The default implementation logs to a PrintWriter, but derived implementations may log to files, syslog, or other logging APIs.
Method Summary | |
java.lang.String |
getOptions()
|
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. |
Methods inherited from interface org.mortbay.util.LifeCycle |
isStarted, start, stop |
Method Detail |
public void setOptions(java.lang.String options)
options
- A string of characters as defined for the
LOG_OPTIONS system parameter.public java.lang.String getOptions()
public void log(java.lang.String tag, java.lang.Object msg, Frame frame, long time)
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)
formattedLog
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |