|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for objects that will log things using the Syslog facility.
Method Summary | |
void |
flush()
Flush the given logger's output. |
java.lang.String |
getName()
Get the name of this logger. |
LogPolicy |
getPolicy()
Get the log policy used by this logger. |
SyslogTextFormatter |
getTextFormatter()
Get the log formatter object used by this logger. |
void |
log(SyslogMessage message)
Log an entry to the log. |
boolean |
mightLog(java.lang.Object logger,
int level,
java.lang.String channel)
Determine if it's likely that a message at the given level on the given channel(s) will be logged. |
void |
setName(java.lang.String name)
Set the name of this logger. |
void |
setPolicy(LogPolicy policy)
Set the log policy used by this logger. |
void |
setTextFormatter(SyslogTextFormatter formatter)
Set the log formatter object used by this logger. |
void |
shutdown()
Shutdown this logger. |
Method Detail |
public void log(SyslogMessage message)
public void setName(java.lang.String name)
public java.lang.String getName()
public void shutdown()
public boolean mightLog(java.lang.Object logger, int level, java.lang.String channel)
public void setPolicy(LogPolicy policy)
public LogPolicy getPolicy()
public void setTextFormatter(SyslogTextFormatter formatter)
public SyslogTextFormatter getTextFormatter()
public void flush()
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |