log4cpp::SimpleConfigurator Class Reference
#include <SimpleConfigurator.hh>
List of all members.
Static Public Member Functions |
static void | configure (std::istream &initFile) throw (ConfigureFailure) |
static void | configure (const std::string &initFileName) throw (ConfigureFailure) |
static void | configure (std::istream &initFile) throw (ConfigureFailure) |
static void | configure (const std::string &initFileName) throw (ConfigureFailure) |
Detailed Description
This class implements a simple Configurator for log4cpp. It is a temporary hack with an undocumented configuration format.
- Deprecated:
- As of version 0.3.2 log4cpp includes a log4j format compatible PropertyConfigurator, removing the need for SimpleConfigurator. This class will be removed in 0.4.0.
This class implements a simple Configurator for log4cpp. It is a temporary hack with an undocumented configuration format.
- Deprecated:
- As of version 0.3.2 log4cpp includes a log4j format compatible PropertyConfigurator, removing the need for SimpleConfigurator. This class will be removed in 0.4.0.
Definition at line 25 of file include/log4cpp/SimpleConfigurator.hh.
Member Function Documentation
static void log4cpp::SimpleConfigurator::configure |
( |
std::istream & |
initFile |
) |
throw (ConfigureFailure) [static] |
Configure log4cpp with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.
- Since:
- 0.3.1
- Parameters:
-
| initFile | an input stream to the configuration file |
- Exceptions:
-
static void log4cpp::SimpleConfigurator::configure |
( |
const std::string & |
initFileName |
) |
throw (ConfigureFailure) [static] |
Configure log4cpp with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.
- Since:
- 0.2.6
- Parameters:
-
| initFileName | name of the configuration file |
- Exceptions:
-
void log4cpp::SimpleConfigurator::configure |
( |
std::istream & |
initFile |
) |
throw (ConfigureFailure) [static] |
Configure log4cpp with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.
- Since:
- 0.3.1
- Parameters:
-
| initFile | an input stream to the configuration file |
- Exceptions:
-
Definition at line 47 of file SimpleConfigurator.cpp.
void log4cpp::SimpleConfigurator::configure |
( |
const std::string & |
initFileName |
) |
throw (ConfigureFailure) [static] |
Configure log4cpp with the configuration in the given file. NB. The configuration file format is undocumented and may change without notice.
- Since:
- 0.2.6
- Parameters:
-
| initFileName | name of the configuration file |
- Exceptions:
-
Definition at line 37 of file SimpleConfigurator.cpp.
The documentation for this class was generated from the following files: