|
static Logger * | getLogger (const std::string &identity, bool registerIfNotAvailable=true) |
| Gets existing or registers new logger. More...
|
|
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 | clearVModules (void) |
| Clears vmodules. More...
|
|
static Logger * | getLogger (const std::string &identity, bool registerIfNotAvailable=true) |
| Gets existing or registers new logger. More...
|
|
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 | clearVModules (void) |
| Clears vmodules. More...
|
|
static Logger * | getLogger (const std::string &identity, bool registerIfNotAvailable=true) |
| Gets existing or registers new logger. More...
|
|
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 | clearVModules (void) |
| Clears vmodules. More...
|
|
Static helpers to deal with loggers and their configurations.