|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jsieve.Logger
Singleton class Logger manages the configuartion of the Log used by Sieve.
Method Summary | |
protected static org.apache.commons.logging.Log |
computeLog()
Computes the log. |
static org.apache.commons.logging.Log |
getLog()
Returns the logger. |
protected static java.lang.String |
getLogName()
Answers the log name. |
protected static void |
setLog(org.apache.commons.logging.Log logger)
Sets the logger. |
protected static void |
updateLog()
Updates the log. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.apache.commons.logging.Log getLog()
protected static org.apache.commons.logging.Log computeLog()
protected static void setLog(org.apache.commons.logging.Log logger)
logger
- The logger to setprotected static void updateLog()
protected static java.lang.String getLogName()
Answers the log name.
Note that this cannot be fetched from the ConfigurationManager as the ConfigurationManager itself uses the Logger. This would result in a loop! No points for deducing why I am sure of this!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |