MySQL 8.0.39
Source Code Documentation
anonymous_namespace{registry.cc} Namespace Reference

Variables

constexpr const std::array< std::pair< std::string_view, LogLevel >, 7 > kLogLevels
 
constexpr const std::array< std::pair< std::string_view, LogTimestampPrecision >, 12 > kLogTimestampPrecisions
 

Variable Documentation

◆ kLogLevels

constexpr const std::array<std::pair<std::string_view, LogLevel>, 7> anonymous_namespace{registry.cc}::kLogLevels
constexpr
Initial value:
{
{
{"fatal", LogLevel::kFatal},
{"system", LogLevel::kSystem},
{"error", LogLevel::kError},
{"warning", LogLevel::kWarning},
{"info", LogLevel::kInfo},
{"note", LogLevel::kNote},
{"debug", LogLevel::kDebug},
}}

◆ kLogTimestampPrecisions

constexpr const std::array<std::pair<std::string_view, LogTimestampPrecision>, 12> anonymous_namespace{registry.cc}::kLogTimestampPrecisions
constexpr
Initial value:
{{
{"second", LogTimestampPrecision::kSec},
{"sec", LogTimestampPrecision::kSec},
{"s", LogTimestampPrecision::kSec},
{"millisecond", LogTimestampPrecision::kMilliSec},
{"msec", LogTimestampPrecision::kMilliSec},
{"ms", LogTimestampPrecision::kMilliSec},
{"microsecond", LogTimestampPrecision::kMicroSec},
{"usec", LogTimestampPrecision::kMicroSec},
{"us", LogTimestampPrecision::kMicroSec},
{"nanosecond", LogTimestampPrecision::kNanoSec},
{"nsec", LogTimestampPrecision::kNanoSec},
{"ns", LogTimestampPrecision::kNanoSec},
}}