log_context_scope(const log_fields &fields)
Construct scope with initial fields.
void remove_logger_context(const std::string &key)
std::vector< std::string > added_keys_
log_fields previous_context_
Thread-local storage for structured logging context fields.
static void set(const std::string &key, const std::string &value)
Set a string context field for the current thread.
unified_log_context & set(std::string_view key, context_value value, context_category category=context_category::custom)
Set a context value.
void remove(std::string_view key)
Remove a specific key from the context.
RAII-based context scope management for structured logging kcenon.