|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.plexus.logging.console.ConsoleLoggerManager
Sample configuration.
org.codehaus.plexus.logging.ConsoleLoggerManager DEBUG
| Field Summary | |
private ConsoleLogger |
consoleLogger
The console logger used by the manager. |
private static java.lang.String |
LOGGER_TAG
XML element used to start the logger configuration. |
private static java.lang.String |
THRESHOLD_TAG
XML element used to set the threshold of the console logger. |
private int |
thresholdLevel
Message of this level or higher will be logged. |
| Constructor Summary | |
ConsoleLoggerManager()
|
|
| Method Summary | |
void |
configure(PlexusConfiguration configuration)
|
Logger |
getLogger(java.lang.String name)
|
Logger |
getRootLogger()
|
void |
initialize()
|
private void |
setThresholdLevel(java.lang.String text)
Sets the threshold for the console logger created by this manager. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String LOGGER_TAG
private static final java.lang.String THRESHOLD_TAG
private int thresholdLevel
private ConsoleLogger consoleLogger
| Constructor Detail |
public ConsoleLoggerManager()
| Method Detail |
public void configure(PlexusConfiguration configuration)
configure in interface LoggerManager
public void initialize()
throws java.lang.Exception
initialize in interface LoggerManagerjava.lang.Exception
public void start()
throws java.lang.Exception
start in interface LoggerManagerjava.lang.Exceptionpublic void stop()
stop in interface LoggerManagerpublic Logger getRootLogger()
getRootLogger in interface LoggerManagerpublic Logger getLogger(java.lang.String name)
getLogger in interface LoggerManagerprivate void setThresholdLevel(java.lang.String text)
text - The threshold level specified as a string which can
be one of the following: debug, info, warn, error, fatal,
disabled.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||