log4shib
1.0.4
|
00001 /* 00002 * SimpleConfigurator.hh 00003 * 00004 * Copyright 2001, Glen Scott. All rights reserved. 00005 * 00006 * See the COPYING file for the terms of usage and distribution. 00007 */ 00008 #ifndef _LOG4SHIB_SIMPLECONFIGURATOR_HH 00009 #define _LOG4SHIB_SIMPLECONFIGURATOR_HH 00010 00011 #include <log4shib/Portability.hh> 00012 #include <iostream> 00013 #include <string> 00014 #include <log4shib/Configurator.hh> 00015 00016 namespace log4shib { 00017 00025 class LOG4SHIB_EXPORT SimpleConfigurator { 00026 public: 00027 00037 static void configure(const std::string& initFileName) throw (ConfigureFailure); 00038 00048 static void configure(std::istream& initFile) throw (ConfigureFailure); }; 00049 } 00050 00051 #endif