[−][src]Crate log_ndc
Structs
| Logger | |
| SetGuard |
Enums
| Ndc | Diagnostic context |
Functions
| clear | Clear diagnostic context |
| get | Read a thread-local context with provided callback. |
| get_copy | Get a copy of the string in thread-local context. Empty string is returned when there's no context |
| get_raw | Get a copy of the raw NDC object. Return NDC with empty string if unset. |
| push | Set thread-local context and return a guard which sets previous value on drop. |
| replace | Set thread-local context to a given string and return previously stored value. |
| set | Set thread-local context to a given string. |
| set_boxed_logger |