log4shib
2.0.0
include
log4shib
SimpleConfigurator.hh
Go to the documentation of this file.
1
/*
2
* SimpleConfigurator.hh
3
*
4
* Copyright 2001, Glen Scott. All rights reserved.
5
*
6
* See the COPYING file for the terms of usage and distribution.
7
*/
8
#ifndef _LOG4SHIB_SIMPLECONFIGURATOR_HH
9
#define _LOG4SHIB_SIMPLECONFIGURATOR_HH
10
11
#include <
log4shib/Portability.hh
>
12
#include <iostream>
13
#include <string>
14
#include <
log4shib/Configurator.hh
>
15
16
namespace
log4shib
{
17
25
class
LOG4SHIB_EXPORT
SimpleConfigurator
{
26
public
:
27
37
static
void
configure(
const
std::string& initFileName)
throw
(
ConfigureFailure
);
38
48
static
void
configure(std::istream& initFile)
throw
(
ConfigureFailure
); };
49
}
50
51
#endif
Portability.hh
log4shib
The top level namespace for all 'Log for C++' types and classes.
Definition:
AbortAppender.hh:16
log4shib::ConfigureFailure
Exception class for configuration.
Definition:
Configurator.hh:26
Configurator.hh
LOG4SHIB_EXPORT
#define LOG4SHIB_EXPORT
Definition:
Export.hh:11
log4shib::SimpleConfigurator
This class implements a simple Configurator for log4shib.
Definition:
SimpleConfigurator.hh:25
Generated by
1.8.18