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

Variables

constexpr auto kLogLevels
 
constexpr auto kLogTimestampPrecisions
 

Variable Documentation

◆ kLogLevels

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

◆ kLogTimestampPrecisions

constexpr auto anonymous_namespace{registry.cc}::kLogTimestampPrecisions
constexpr
Initial value:
=
std::to_array<std::pair<std::string_view, LogTimestampPrecision>>({
{"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},
})