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
|