18#ifndef _LOG4CXX_PROPERTY_CONFIGURATOR_H
19#define _LOG4CXX_PROPERTY_CONFIGURATOR_H
48class PropertyWatchdog;
285 spi::ConfigurationStatus doConfigure(const
File& configFileName,
286 spi::LoggerRepositoryPtr hierarchy) override;
291 static spi::ConfigurationStatus configure(const
File& configFilename);
300 static spi::ConfigurationStatus configureAndWatch(const
File& configFilename);
313 static spi::ConfigurationStatus configureAndWatch(const
File& configFilename,
321 static spi::ConfigurationStatus configure(helpers::Properties& properties);
328 spi::ConfigurationStatus doConfigure(helpers::Properties& properties,
329 spi::LoggerRepositoryPtr hierarchy);
343 void configureLoggerFactory(helpers::Properties& props);
345 void configureRootLogger(helpers::Properties& props,
346 spi::LoggerRepositoryPtr& hierarchy);
351 void parseCatsAndRenderers(helpers::Properties& props,
352 spi::LoggerRepositoryPtr& hierarchy);
357 bool parseAdditivityForLogger(helpers::Properties& props,
364 helpers::Properties& props,
LoggerPtr& logger,
366 const
LogString& value,
bool additivity);
369 helpers::Properties& props, const
LogString& appenderName);
377 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