18#ifndef _LOG4CXX_PROPERTY_CONFIGURATOR_H
19#define _LOG4CXX_PROPERTY_CONFIGURATOR_H
48class PropertyWatchdog;
286 spi::ConfigurationStatus doConfigure(const
File& configFileName,
287 spi::LoggerRepositoryPtr hierarchy) override;
292 static spi::ConfigurationStatus configure(const
File& configFilename);
301 static spi::ConfigurationStatus configureAndWatch(const
File& configFilename);
314 static spi::ConfigurationStatus configureAndWatch(const
File& configFilename,
322 static spi::ConfigurationStatus configure(helpers::Properties& properties);
329 spi::ConfigurationStatus doConfigure(helpers::Properties& properties,
330 spi::LoggerRepositoryPtr hierarchy);
344 void configureLoggerFactory(helpers::Properties& props);
346 void configureRootLogger(helpers::Properties& props,
347 spi::LoggerRepositoryPtr& hierarchy);
352 void parseCatsAndRenderers(helpers::Properties& props,
353 spi::LoggerRepositoryPtr& hierarchy);
358 bool parseAdditivityForLogger(helpers::Properties& props,
365 helpers::Properties& props,
LoggerPtr& logger,
367 const
LogString& value,
bool additivity);
370 helpers::Properties& props, const
LogString& appenderName);
378 static PropertyWatchdog* pdog;
An abstract representation of file and directory path names.
Definition: file.h:41
Allows the configuration of log4cxx from an external file.
Definition: propertyconfigurator.h:88
std::map< LogString, AppenderPtr > * registry
Used internally to keep track of configured appenders.
Definition: propertyconfigurator.h:94
base class for java-like objects.
Definition: object.h:105
Implemented by classes capable of configuring log4j using a URL.
Definition: configurator.h:39
std::shared_ptr< LoggerFactory > LoggerFactoryPtr
Definition: logmanager.h:34
Definition: configuration.h:25
std::basic_string< logchar > LogString
Definition: logstring.h:60
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:29
std::shared_ptr< Logger > LoggerPtr
Definition: defaultloggerfactory.h:27
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:157
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:151
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:42
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:145