Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SimpleConfigurator.hh

Go to the documentation of this file.
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 _LOG4CPP_SIMPLECONFIGURATOR_HH
00009 #define _LOG4CPP_SIMPLECONFIGURATOR_HH
00010 
00011 #include <log4cpp/Portability.hh>
00012 #include <iostream>
00013 #include <string>
00014 #include <log4cpp/Configurator.hh>
00015 
00016 namespace log4cpp {
00017 
00025     class LOG4CPP_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

Generated on Mon Oct 28 23:41:43 2002 for log4cpp by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002