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

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 "log4cpp/Export.hh"
00013 #include <string>
00014 #include <stdexcept>
00015 
00016 namespace log4cpp {
00017 
00018     class LOG4CPP_EXPORT ConfigureFailure : public std::runtime_error {
00019     public:
00020         ConfigureFailure(const std::string& reason);
00021     };
00022 
00023     class LOG4CPP_EXPORT SimpleConfigurator {
00024     public:
00025         static void configure(const std::string& initFileName) throw (ConfigureFailure);
00026     };
00027 }
00028 
00029 #endif

Generated at Mon Jan 28 01:40:21 2002 for log4cpp by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001