|
| static Logger * | getLogger (const std::string &identity, bool registerIfNotAvailable=true) |
| | Gets existing or registers new logger. More...
|
| |
| static void | setDefaultLogBuilder (el::LogBuilderPtr &logBuilderPtr) |
| | Changes default log builder for future loggers. More...
|
| |
| template<typename T > |
| static bool | installLoggerRegistrationCallback (const std::string &id) |
| | Installs logger registration callback, this callback is triggered when new logger is registered. More...
|
| |
| template<typename T > |
| static void | uninstallLoggerRegistrationCallback (const std::string &id) |
| | Uninstalls log dispatch callback. More...
|
| |
| template<typename T > |
| static T * | loggerRegistrationCallback (const std::string &id) |
| |
| static bool | unregisterLogger (const std::string &identity) |
| | Unregisters logger - use it only when you know what you are doing, you may unregister loggers initialized / used by third-party libs. More...
|
| |
| static bool | hasLogger (const std::string &identity) |
| | Whether or not logger with id is registered. More...
|
| |
| static Logger * | reconfigureLogger (Logger *logger, const Configurations &configurations) |
| | Reconfigures specified logger with new configurations. More...
|
| |
| static Logger * | reconfigureLogger (const std::string &identity, const Configurations &configurations) |
| | Reconfigures logger with new configurations after looking it up using identity. More...
|
| |
| static Logger * | reconfigureLogger (const std::string &identity, ConfigurationType configurationType, const std::string &value) |
| | Reconfigures logger's single configuration. More...
|
| |
| static void | reconfigureAllLoggers (const Configurations &configurations) |
| | Reconfigures all the existing loggers with new configurations. More...
|
| |
| static void | reconfigureAllLoggers (ConfigurationType configurationType, const std::string &value) |
| | Reconfigures single configuration for all the loggers. More...
|
| |
| static void | reconfigureAllLoggers (Level level, ConfigurationType configurationType, const std::string &value) |
| | Reconfigures single configuration for all the loggers for specified level. More...
|
| |
| static void | setDefaultConfigurations (const Configurations &configurations, bool reconfigureExistingLoggers=false) |
| | Sets default configurations. This configuration is used for future (and conditionally for existing) loggers. More...
|
| |
| static const Configurations * | defaultConfigurations (void) |
| | Returns current default. More...
|
| |
| static const base::LogStreamsReferenceMap * | logStreamsReference (void) |
| | Returns log stream reference pointer if needed by user. More...
|
| |
| static base::TypedConfigurations | defaultTypedConfigurations (void) |
| | Default typed configuration based on existing defaultConf. More...
|
| |
| static std::vector< std::string > * | populateAllLoggerIds (std::vector< std::string > *targetList) |
| | Populates all logger IDs in current repository. More...
|
| |
| static void | configureFromGlobal (const char *globalConfigurationFilePath) |
| | Sets configurations from global configuration file. More...
|
| |
| static bool | configureFromArg (const char *argKey) |
| | Configures loggers using command line arg. Ensure you have already set command line args,. More...
|
| |
| static void | flushAll (void) |
| | Flushes all loggers for all levels - Be careful if you dont know how many loggers are registered. More...
|
| |
| static void | addFlag (LoggingFlag flag) |
| | Adds logging flag used internally. More...
|
| |
| static void | removeFlag (LoggingFlag flag) |
| | Removes logging flag used internally. More...
|
| |
| static bool | hasFlag (LoggingFlag flag) |
| | Determines whether or not certain flag is active. More...
|
| |
| static void | setLoggingLevel (Level level) |
| | Sets hierarchy for logging. Needs to enable logging flag (HierarchicalLogging) More...
|
| |
| static void | setVerboseLevel (base::type::VerboseLevel level) |
| | Sets verbose level on the fly. More...
|
| |
| static base::type::VerboseLevel | verboseLevel (void) |
| | Gets current verbose level. More...
|
| |
| static void | setVModules (const char *modules) |
| | Sets vmodules as specified (on the fly) More...
|
| |
| static void | setCategories (const char *categories, bool clear=true) |
| | Sets categories as specified (on the fly) More...
|
| |
| static std::string | getCategories () |
| | Gets current categories. More...
|
| |
| static void | clearVModules (void) |
| | Clears vmodules. More...
|
| |
| static void | clearCategories (void) |
| | Clears categories. More...
|
| |
| static void | setFilenameCommonPrefix (const std::string &prefix) |
| | Sets filename common prefix. More...
|
| |
| static const std::string & | getFilenameCommonPrefix () |
| | Gets filename common prefix. More...
|
| |
Static helpers to deal with loggers and their configurations.
Definition at line 3845 of file easylogging++.h.