Use BasicConfigurator (static) methods to configure Log4cxx when not using a configuration file.
More...
#include <basicconfigurator.h>
Use BasicConfigurator (static) methods to configure Log4cxx when not using a configuration file.
For key=value format configuration see PropertyConfigurator. For XML format configuration see xml::DOMConfigurator.
◆ BasicConfigurator()
| log4cxx::BasicConfigurator::BasicConfigurator |
( |
| ) |
|
|
inlineprotected |
◆ configure() [1/2]
| static void log4cxx::BasicConfigurator::configure |
( |
const AppenderPtr & |
appender | ) |
|
|
static |
Add appender to the root logger.
- Parameters
-
| appender | The appender to add to the root logger. |
◆ configure() [2/2]
| static void log4cxx::BasicConfigurator::configure |
( |
const LayoutPtr & |
layout = LayoutPtr() | ) |
|
|
static |
◆ configureAsync() [1/2]
| static void log4cxx::BasicConfigurator::configureAsync |
( |
const AppenderPtr & |
appender | ) |
|
|
static |
Add appender to an AsyncAppender attacted to the root logger.
- Parameters
-
| appender | The appender that asynchronously formats output. |
◆ configureAsync() [2/2]
| static void log4cxx::BasicConfigurator::configureAsync |
( |
const LayoutPtr & |
layout = LayoutPtr() | ) |
|
|
static |
◆ resetConfiguration()
| static void log4cxx::BasicConfigurator::resetConfiguration |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: