File: configurator.swg

package info (click to toggle)
log4cplus 2.0.8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,592 kB
  • sloc: cpp: 53,091; sh: 10,537; ansic: 1,845; python: 1,226; perl: 263; makefile: 209; xml: 85; objc: 59
file content (54 lines) | stat: -rwxr-xr-x 1,150 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef LOG4CPLUS_CONFIGURATOR_SWG
#define LOG4CPLUS_CONFIGURATOR_SWG

%{

#include "log4cplus/configurator.h"

%}

%include "hierarchy.swg"

namespace log4cplus {

/* class PropertyConfigurator
{
public:
  enum PCFLags
  {
    fRecursiveExpansion
    , fShadowEnvironment
    , fAllowEmptyVars
    , fUnspecEncoding
#if defined (LOG4CPLUS_HAVE_CODECVT_UTF8_FACET) && defined (UNICODE)
    , fUTF8
#endif
#if (defined (LOG4CPLUS_HAVE_CODECVT_UTF16_FACET) || defined (_WIN32)) \
    && defined (UNICODE)
    , fUTF16
#endif
#if defined (LOG4CPLUS_HAVE_CODECVT_UTF32_FACET) && defined (UNICODE)
    , fUTF32
#endif   
  };
  
  PropertyConfigurator (log4cplus::tstring const & propertyFile,
    Hierarchy& h = Logger::getDefaultHierarchy(), unsigned flags = 0
}; */

class BasicConfigurator
{
public:
  BasicConfigurator (Hierarchy & h
      = log4cplus::Logger::getDefaultHierarchy (), bool logToStdErr = false);
  virtual ~BasicConfigurator ();
  
  static void doConfigure(log4cplus::Hierarchy & h
      = log4cplus::Logger::getDefaultHierarchy (),
    bool logToStdErr = false);
};
	
} // namespace log4cplus

#endif // LOG4CPLUS_CONFIGURATOR_SWG