24 #ifndef LOG4CPLUS_CONFIGURATOR_HEADER_ 25 #define LOG4CPLUS_CONFIGURATOR_HEADER_ 29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 72 fRecursiveExpansion = (1 << 0)
73 , fShadowEnvironment = (1 << 1)
74 , fAllowEmptyVars = (1 << 2)
82 , fUnspecEncoding = (0 << fEncodingShift)
83 #if defined (LOG4CPLUS_HAVE_CODECVT_UTF8_FACET) && defined (UNICODE) 84 , fUTF8 = (1 << fEncodingShift)
86 #
if (defined (LOG4CPLUS_HAVE_CODECVT_UTF16_FACET) || defined (_WIN32)) \
88 , fUTF16 = (2 << fEncodingShift)
90 #
if defined (LOG4CPLUS_HAVE_CODECVT_UTF32_FACET) && defined (UNICODE)
91 , fUTF32 = (3 << fEncodingShift)
262 virtual void configure();
285 void replaceEnvironVariables();
286 void configureLoggers();
288 void configureAppenders();
289 void configureAdditivity();
295 typedef std::map<log4cplus::tstring, log4cplus::SharedAppenderPtr>
AppenderMap;
324 bool logToStdErr =
false);
337 bool logToStdErr =
false);
349 #if !defined(LOG4CPLUS_SINGLE_THREADED) 351 class ConfigurationWatchDogThread;
358 unsigned int millis = 60 * 1000);
367 ConfigurationWatchDogThread * watchDogThread;
373 #endif // LOG4CPLUS_CONFIGURATOR_HEADER_
static log4cplus::tstring const DISABLE_OVERRIDE_KEY
Property name for disable override.
This is the central class in the log4cplus package.
log4cplus::helpers::Properties properties
Provides configuration from an external file.
std::map< log4cplus::tstring, log4cplus::SharedAppenderPtr > AppenderMap
std::basic_string< tchar > tstring
std::basic_istream< tchar > tistream
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
This header defines the Logger class and the logging macros.
Use this class to quickly configure the package.
static Hierarchy & getDefaultHierarchy()
Return the default Hierarchy instance.
log4cplus::tstring propertyFilename