Compare commits
2 Commits
2d18ae7505
...
64dc595a7a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64dc595a7a | ||
|
|
5fd5982646 |
@ -1,10 +1,11 @@
|
||||
from typing import MutableMapping, Any
|
||||
import structlog
|
||||
from structlog.typing import EventDict
|
||||
|
||||
from elexam_core.context import trace_id_context
|
||||
|
||||
|
||||
def add_trace_id(event_dict: MutableMapping[str, Any]):
|
||||
def add_trace_id(event_dict: EventDict):
|
||||
"""
|
||||
Structlog-процессор: добавляет поле ``trace_id`` в каждую лог-запись.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user