Extra tskv fields storage.
More...
#include <userver/logging/log_extra.hpp>
|
enum class | ExtendType {
kNormal
,
kFrozen
} |
| Specifies replacement policy for newly added values. More...
|
|
using | Value = std::variant< std::string, int, long, long long, unsigned int, unsigned long, unsigned long long, float, double > |
|
using | Key = std::string |
|
using | Pair = std::pair< Key, Value > |
|
|
static LogExtra | StacktraceNocache () noexcept |
| Creates a LogExtra with current thread's stacktrace if the default log level is less or equal to DEBUG.
|
|
static LogExtra | StacktraceNocache (logging::LoggerRef logger) noexcept |
| Creates a LogExtra with current thread's stacktrace if the logger log level is less or equal to DEBUG.
|
|
static LogExtra | Stacktrace () noexcept |
| Creates a LogExtra with current thread's stacktrace if the logger log level is less or equal to DEBUG. Uses cache for faster stacktrace symbolization.
|
|
static LogExtra | Stacktrace (logging::LoggerRef logger) noexcept |
| Creates a LogExtra with current thread's stacktrace if the logger log level is less or equal to DEBUG. Uses cache for faster stacktrace symbolization.
|
|
Extra tskv fields storage.
Definition at line 32 of file log_extra.hpp.
◆ Key
using logging::LogExtra::Key = std::string |
◆ Pair
using logging::LogExtra::Pair = std::pair<Key, Value> |
◆ Value
using logging::LogExtra::Value = std::variant<std::string, int, long, long long, unsigned int, unsigned long, unsigned long long, float, double> |
◆ ExtendType
Specifies replacement policy for newly added values.
Enumerator |
---|
kNormal | Added value can be replaced.
|
kFrozen | Attempts to replace this value will be ignored.
|
Definition at line 40 of file log_extra.hpp.
◆ ExtendRange()
template<typename Iterator >
◆ tracing::Span
The documentation for this class was generated from the following file: