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);
318 static spi::ConfigurationStatus configureAndWatch(const
File& configFilename,
326 static spi::ConfigurationStatus configure(helpers::Properties& properties);
333 spi::ConfigurationStatus doConfigure(helpers::Properties& properties,
334 spi::LoggerRepositoryPtr hierarchy);
348 void configureLoggerFactory(helpers::Properties& props);
350 void configureRootLogger(helpers::Properties& props,
351 spi::LoggerRepositoryPtr& hierarchy);
356 void parseCatsAndRenderers(helpers::Properties& props,
357 spi::LoggerRepositoryPtr& hierarchy);
362 bool parseAdditivityForLogger(helpers::Properties& props,
369 helpers::Properties& props,
LoggerPtr& logger,
371 const
LogString& value,
bool additivity);
374 helpers::Properties& props, const
LogString& appenderName);
382 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:106
Implemented by classes capable of configuring log4j using a URL.
Definition: configurator.h:39
std::shared_ptr< LoggerFactory > LoggerFactoryPtr
Definition: logmanager.h:34
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:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146