Clear diagnostic context
Read a thread-local context with provided callback.
Get a copy of the string in thread-local context. Empty string is returned when there's no context
Get a copy of the raw NDC object. Return NDC with empty string if unset.
Set thread-local context and return a guard which sets previous value on drop.
Set thread-local context to a given string and return previously stored value.
Set thread-local context to a given string.