18#ifndef _LOG4CXX_DEFAULT_CONFIGURATOR_H
19#define _LOG4CXX_DEFAULT_CONFIGURATOR_H
99 static std::tuple<LOG4CXX_NS::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();
106 static LOG4CXX_NS::spi::ConfigurationStatus tryLoadFile(
const LogString& filename);
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.
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_NS
Definition: log4cxx.h:104
std::shared_ptr< LoggerRepository > LoggerRepositoryPtr
Definition: optionconverter.h:33
std::basic_string< logchar > LogString
Definition: logstring.h:60