This class implements a simple Configurator for log4shib. More...
#include <SimpleConfigurator.hh>
Static Public Member Functions | |
| static void | configure (const std::string &initFileName) throw (ConfigureFailure) |
| Configure log4shib with the configuration in the given file. | |
| static void | configure (std::istream &initFile) throw (ConfigureFailure) |
| Configure log4shib with the configuration in the given file. | |
This class implements a simple Configurator for log4shib.
It is a temporary hack with an undocumented configuration format.
| void log4shib::SimpleConfigurator::configure | ( | std::istream & | initFile | ) | throw (ConfigureFailure) [static] |
Configure log4shib 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 |
| ConfigureFailure | if the method encountered a read or syntax error. |
| void log4shib::SimpleConfigurator::configure | ( | const std::string & | initFileName | ) | throw (ConfigureFailure) [static] |
Configure log4shib 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 |
| ConfigureFailure | if the method encountered a read or syntax error. |
1.6.1