log4shib  1.0.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SimpleConfigurator.hh
Go to the documentation of this file.
1 /*
2  * SimpleConfigurator.hh
3  *
4  * Copyright 2001, Glen Scott. All rights reserved.
5  *
6  * See the COPYING file for the terms of usage and distribution.
7  */
8 #ifndef _LOG4SHIB_SIMPLECONFIGURATOR_HH
9 #define _LOG4SHIB_SIMPLECONFIGURATOR_HH
10 
11 #include <log4shib/Portability.hh>
12 #include <iostream>
13 #include <string>
14 #include <log4shib/Configurator.hh>
15 
16 namespace log4shib {
17 
26  public:
27 
37  static void configure(const std::string& initFileName) throw (ConfigureFailure);
38 
48  static void configure(std::istream& initFile) throw (ConfigureFailure); };
49 }
50 
51 #endif
#define LOG4SHIB_EXPORT
Definition: Export.hh:11
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
Exception class for configuration.
Definition: Configurator.hh:26
This class implements a simple Configurator for log4shib.
Definition: SimpleConfigurator.hh:25