For file based configuration see PropertyConfigurator. For XML based configuration see DOMConfigurator.
Static Public Member Functions | |
static void | configure () |
Add a ConsoleAppender that uses PatternLayout using the PatternLayout::TTCC_CONVERSION_PATTERN and prints to stdout to the root logger. | |
static void | configure (const AppenderPtr &appender) |
Add appender to the root logger. | |
static void | resetConfiguration () |
Reset the default hierarchy to its defaut. | |
Protected Member Functions | |
BasicConfigurator () |
|
|
|
Add
|
|
Add a ConsoleAppender that uses PatternLayout using the PatternLayout::TTCC_CONVERSION_PATTERN and prints to
|
|
Reset the default hierarchy to its defaut.
It is equivalent to calling |