18#ifndef _LOG4CXX_DEFAULT_CONFIGURATOR_H
19#define _LOG4CXX_DEFAULT_CONFIGURATOR_H
99 static std::tuple<log4cxx::spi::ConfigurationStatus,LogString>
configureFromFile(
const std::vector<LogString>& directories,
100 const std::vector<LogString>& filenames);
103 static const LogString getConfigurationFileName();
104 static const LogString getConfiguratorClass();
105 static int getConfigurationWatchDelay();
Configures the repository from environmental settings and files.
Definition: defaultconfigurator.h:33
static void configure(spi::LoggerRepositoryPtr repository)
Configure repository.
static void setConfigurationFileName(const LogString &path)
Make path the configuration file used by configure().
static void setConfigurationWatchSeconds(int seconds)
Make seconds the time a background thread will delay before checking for a change to the configuratio...
static std::tuple< log4cxx::spi::ConfigurationStatus, LogString > configureFromFile(const std::vector< LogString > &directories, const std::vector< LogString > &filenames)
Configure Log4cxx from a file.
std::shared_ptr< LoggerRepository > LoggerRepositoryPtr
Definition: optionconverter.h:33
ConfigurationStatus
Definition: configurator.h:30
Definition: configuration.h:25
std::basic_string< logchar > LogString
Definition: logstring.h:60