This class implements a simple configurator for log4cpp. More...
#include <SimpleConfigurator.hh>
Static Public Member Functions | |
static void | configure (const std::string &initFileName) |
Configure log4cpp with the configuration in the given file. | |
static void | configure (std::istream &initFile) |
Configure log4cpp with the configuration in the given file. |
This class implements a simple configurator for log4cpp.
It is a temporary hack with an undocumented configuration format.
Definition at line 26 of file SimpleConfigurator.hh.
static void SimpleConfigurator::configure | ( | const std::string & | initFileName | ) | [static] |
Configure log4cpp with the configuration in the given file.
NB. The configuration file format is undocumented and may change without notice.
initFileName | name of the configuration file |
GenICam::InvalidArgumentException | if the method encountered a read or syntax error. |
static void SimpleConfigurator::configure | ( | std::istream & | initFile | ) | [static] |
Configure log4cpp with the configuration in the given file.
NB. The configuration file format is undocumented and may change without notice.
initFile | an input stream to the configuration file |
GenICam::InvalidArgumentException | if the method encountered a read or syntax error. |