|
Monero
|
Easylogging++ entry namespace. More...
Namespaces | |
| namespace | base |
| Namespace containing base/internal functionality used by Easylogging++. | |
Classes | |
| struct | StringToLevelItem |
| struct | ConfigurationStringToTypeItem |
| class | Callback |
| class | LevelHelper |
| Static class that contains helper functions for el::Level. More... | |
| class | ConfigurationTypeHelper |
| Static class that contains helper functions for el::ConfigurationType. More... | |
| class | Loggable |
| Base of Easylogging++ friendly class. More... | |
| class | CustomFormatSpecifier |
| User-provided custom format specifier. More... | |
| class | Configuration |
| Represents single configuration that has representing level, configuration type and a string based value. More... | |
| class | Configurations |
| Thread-safe Configuration repository. More... | |
| class | LogDispatchData |
| class | LogDispatchCallback |
| class | PerformanceTrackingCallback |
| class | LoggerRegistrationCallback |
| class | LogBuilder |
| class | Logger |
| Represents a logger holding ID and configurations we need to write logs. More... | |
| class | LogMessage |
| class | SysLogInitializer |
| Initializes syslog with process ID, options and facility. calls closelog() on d'tor. More... | |
| class | Helpers |
| Static helpers for developers. More... | |
| class | Loggers |
| Static helpers to deal with loggers and their configurations. More... | |
| class | VersionInfo |
Typedefs | |
| typedef std::function< void(const char *, std::size_t)> | PreRollOutCallback |
| typedef std::function< std::string(const LogMessage *)> | FormatSpecifierValueResolver |
| Resolving function for format specifier. | |
| typedef std::shared_ptr< LogBuilder > | LogBuilderPtr |
Enumerations | |
| enum class | Level : base::type::EnumType { Global = 1 , Trace = 2 , Debug = 4 , Fatal = 8 , Error = 16 , Warning = 32 , Verbose = 64 , Info = 128 , Unknown = 1010 } |
| Represents enumeration for severity level used to determine level of logging. More... | |
| enum class | Color : base::type::EnumType { Default , Red , Green , Yellow , Blue , Magenta , Cyan } |
| enum class | ConfigurationType : base::type::EnumType { Enabled = 1 , ToFile = 2 , ToStandardOutput = 4 , Format = 8 , Filename = 16 , SubsecondPrecision = 32 , MillisecondsWidth = SubsecondPrecision , PerformanceTracking = 64 , MaxLogFileSize = 128 , LogFlushThreshold = 256 , Unknown = 1010 } |
| Represents enumeration of ConfigurationType used to configure or access certain aspect of logging. More... | |
| enum class | LoggingFlag : base::type::EnumType { NewLineForContainer = 1 , AllowVerboseIfModuleNotSpecified = 2 , LogDetailedCrashReason = 4 , DisableApplicationAbortOnFatalLog = 8 , ImmediateFlush = 16 , StrictLogFileSizeCheck = 32 , ColoredTerminalOutput = 64 , MultiLoggerSupport = 128 , DisablePerformanceTrackingCheckpointComparison = 256 , DisableVModules = 512 , DisableVModulesExtensions = 1024 , HierarchicalLogging = 2048 , CreateLoggerAutomatically = 4096 , AutoSpacing = 8192 , FixedTimeFormat = 16384 , IgnoreSigInt = 32768 } |
| Flags used while writing logs. This flags are set by user. More... | |
Variables | |
| static struct StringToLevelItem | stringToLevelMap [] |
| static struct ConfigurationStringToTypeItem | configStringToTypeMap [] |
| base::debug::CrashHandler | elCrashHandler |
Easylogging++ entry namespace.
| typedef std::function<std::string(const LogMessage*)> el::FormatSpecifierValueResolver |
Resolving function for format specifier.
| typedef std::shared_ptr<LogBuilder> el::LogBuilderPtr |
| typedef std::function<void(const char*, std::size_t)> el::PreRollOutCallback |
|
strong |
|
strong |
Represents enumeration of ConfigurationType used to configure or access certain aspect of logging.
| Enumerator | |
|---|---|
| Enabled | Determines whether or not corresponding level and logger of logging is enabled You may disable all logs by using el::Level::Global. |
| ToFile | Whether or not to write corresponding log to log file. |
| ToStandardOutput | Whether or not to write corresponding level and logger log to standard output. By standard output meaning termnal, command prompt etc. |
| Format | Determines format of logging corresponding level and logger. |
| Filename | Determines log file (full path) to write logs to for correponding level and logger. |
| SubsecondPrecision | Specifies precision of the subsecond part. It should be within range (1-6). |
| MillisecondsWidth | Alias of SubsecondPrecision (for backward compatibility). |
| PerformanceTracking | Determines whether or not performance tracking is enabled. @detail This does not depend on logger or level. Performance tracking always uses 'performance' logger |
| MaxLogFileSize | Specifies log file max size. @detail If file size of corresponding log file (for corresponding level) is >= specified size, log file will be truncated and re-initiated. |
| LogFlushThreshold | Specifies number of log entries to hold until we flush pending log data. |
| Unknown | Represents unknown configuration. |
|
strong |
Represents enumeration for severity level used to determine level of logging.
@detail With Easylogging++, developers may disable or enable any level regardless of what the severity is. Or they can choose to log using hierarchical logging flag
|
strong |
Flags used while writing logs. This flags are set by user.
|
static |
|
extern |
|
static |