Namespace consts
Description
Namespace containing constants used internally.
Variables
Variables (easylogging++.cc)
const base::type::char_t * kInfoLevelLogValue = ELPP_LITERAL("INFO") | Level log values - These are values that are replaced in place of level format specifier Extra spaces after format specifiers are only for readability purposes in log files | |
const base::type::char_t * kDebugLevelLogValue = ELPP_LITERAL("DEBUG") | ||
const base::type::char_t * kWarningLevelLogValue = ELPP_LITERAL("WARNING") | ||
const base::type::char_t * kErrorLevelLogValue = ELPP_LITERAL("ERROR") | ||
const base::type::char_t * kFatalLevelLogValue = ELPP_LITERAL("FATAL") | ||
const base::type::char_t * kVerboseLevelLogValue = ELPP_LITERAL("VERBOSE") | ||
const base::type::char_t * kTraceLevelLogValue = ELPP_LITERAL("TRACE") | ||
const base::type::char_t * kInfoLevelShortLogValue = ELPP_LITERAL("I") | ||
const base::type::char_t * kDebugLevelShortLogValue = ELPP_LITERAL("D") | ||
const base::type::char_t * kWarningLevelShortLogValue = ELPP_LITERAL("W") | ||
const base::type::char_t * kErrorLevelShortLogValue = ELPP_LITERAL("E") | ||
const base::type::char_t * kFatalLevelShortLogValue = ELPP_LITERAL("F") | ||
const base::type::char_t * kVerboseLevelShortLogValue = ELPP_LITERAL("V") | ||
const base::type::char_t * kTraceLevelShortLogValue = ELPP_LITERAL("T") | ||
const base::type::char_t * kAppNameFormatSpecifier = ELPP_LITERAL("%app") | Format specifiers - These are used to define log format. | |
const base::type::char_t * kLoggerIdFormatSpecifier = ELPP_LITERAL("%logger") | ||
const base::type::char_t * kThreadIdFormatSpecifier = ELPP_LITERAL("%thread") | ||
const base::type::char_t * kSeverityLevelFormatSpecifier = ELPP_LITERAL("%level") | ||
const base::type::char_t * kSeverityLevelShortFormatSpecifier = ELPP_LITERAL("%levshort") | ||
const base::type::char_t * kDateTimeFormatSpecifier = ELPP_LITERAL("%datetime") | ||
const base::type::char_t * kLogFileFormatSpecifier = ELPP_LITERAL("%file") | ||
const base::type::char_t * kLogFileBaseFormatSpecifier = ELPP_LITERAL("%fbase") | ||
const base::type::char_t * kLogLineFormatSpecifier = ELPP_LITERAL("%line") | ||
const base::type::char_t * kLogLocationFormatSpecifier = ELPP_LITERAL("%loc") | ||
const base::type::char_t * kLogFunctionFormatSpecifier = ELPP_LITERAL("%func") | ||
const base::type::char_t * kCurrentUserFormatSpecifier = ELPP_LITERAL("%user") | ||
const base::type::char_t * kCurrentHostFormatSpecifier = ELPP_LITERAL("%host") | ||
const base::type::char_t * kMessageFormatSpecifier = ELPP_LITERAL("%msg") | ||
const base::type::char_t * kVerboseLevelFormatSpecifier = ELPP_LITERAL("%vlevel") | ||
const char * kDateTimeFormatSpecifierForFilename = "%datetime" | ||
const char * kDays = { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" } | Date/time. | |
const char * kDaysAbbrev = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" } | ||
const char * kMonths = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" } | ||
const char * kMonthsAbbrev = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" } | ||
const char * kDefaultDateTimeFormat = "%Y-%M-%d %H:%m:%s,%g" | ||
const char * kDefaultDateTimeFormatInFilename = "%Y-%M-%d_%H-%m" | ||
const int kYearBase = 1900 | ||
const char * kAm = "AM" | ||
const char * kPm = "PM" | ||
const char * kNullPointer = "nullptr" | Miscellaneous constants. | |
const base::type::VerboseLevel kMaxVerboseLevel = 9 | ||
const char * kUnknownUser = "unknown-user" | ||
const char * kUnknownHost = "unknown-host" | ||
const char * kDefaultLogFile = "/dev/null" | ||
const char * kDefaultLogFileParam = "--default-log-file" | ||
const char * kLoggingFlagsParam = "--logging-flags" | ||
const char * kValidLoggerIdSymbols = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._" | ||
const char * kConfigurationComment = "##" | ||
const char * kConfigurationLevel = "*" | ||
const char * kConfigurationLoggerId = "--" |
Variables (easylogging++.h)
const char kFormatSpecifierCharValue = 'v' | ||
const char kFormatSpecifierChar = '%' | ||
const unsigned int kMaxLogPerCounter = 100000 | ||
const unsigned int kMaxLogPerContainer = 100 | Mentioned in:
| |
const unsigned int kDefaultSubsecondPrecision = 3 | ||
const char * kDefaultLoggerId = ELPP_DEFAULT_LOGGER | ||
const char * kPerformanceLoggerId = ELPP_DEFAULT_PERFORMANCE_LOGGER | ||
const char * kSysLogLoggerId = "syslog" | ||
const char * kFilePathSeparator = "\\" | ||
const std::size_t kSourceFilenameMaxLength = 100 | ||
const std::size_t kSourceLineMaxLength = 10 | ||
const Level kPerformanceTrackerDefaultLevel = Level::Info | ||
double value | ||
const base::type::char_t * unit | ||
const struct el::base::consts::@0 kTimeFormats = { { 1000.0f, ELPP_LITERAL("us") }, { 1000.0f, ELPP_LITERAL("ms") }, { 60.0f, ELPP_LITERAL("seconds") }, { 60.0f, ELPP_LITERAL("minutes") }, { 24.0f, ELPP_LITERAL("hours") }, { 7.0f, ELPP_LITERAL("days") } } | ||
const int kTimeFormatsCount = sizeof(kTimeFormats) / sizeof(kTimeFormats[0]) | ||
int numb | ||
const char * name | ||
const char * brief | ||
const char * detail | ||
const struct el::base::consts::@1 kCrashSignals = { { SIGABRT, "SIGABRT", "Abnormal termination", "Program was abnormally terminated." }, { SIGFPE, "SIGFPE", "Erroneous arithmetic operation", "Arithmetic operation issue such as division by zero or operation resulting in overflow." }, { SIGILL, "SIGILL", "Illegal instruction", "Generally due to a corruption in the code or to an attempt to execute data." }, { SIGSEGV, "SIGSEGV", "Invalid access to memory", "Program is trying to read an invalid (unallocated, deleted or corrupted) or inaccessible memory." }, { SIGINT, "SIGINT", "Interactive attention signal", "Interruption generated (generally) by user or operating system." }, } | ||
const int kCrashSignalsCount = sizeof(kCrashSignals) / sizeof(kCrashSignals[0]) |
Source
Line 28 in src/easylogging++.cc.