log4cpp: SimpleConfigurator.hh Source File

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- 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 <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