Loading...
Searching...
No Matches
SimpleConfigurator.hh
Go to the documentation of this file.
/*
* SimpleConfigurator.hh
*
* Copyright 2001, Glen Scott. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef _LOG4SHIB_SIMPLECONFIGURATOR_HH
#define _LOG4SHIB_SIMPLECONFIGURATOR_HH
#include <log4shib/Portability.hh>
#include <iostream>
#include <string>
#include <log4shib/Configurator.hh>
namespace log4shib {
class LOG4SHIB_EXPORT SimpleConfigurator {
public:
static void configure(const std::string& initFileName);
static void configure(std::istream& initFile);
};
}
#endif
Configurator.hh
LOG4SHIB_EXPORT
#define LOG4SHIB_EXPORT
Definition Export.hh:11
Portability.hh
log4shib::SimpleConfigurator
This class implements a simple Configurator for log4shib.
Definition SimpleConfigurator.hh:25
log4shib::SimpleConfigurator::configure
static void configure(const std::string &initFileName)
Configure log4shib with the configuration in the given file.
Definition SimpleConfigurator.cpp:45
log4shib
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16