GitHub

API reference for Options.

One log entry, as each logger receives it.

Attributes

AttributeTypeDescription
messagetuple[object, ...]

The logged items, causes taken out.

log_levelLogLevel
causeCause[object]

The causes logged with the items, merged; empty when there were none.

fiberFiber[Any, Any]

The logging fiber. Read the annotations and spans with fiber.get_ref(CurrentLogAnnotations) and CurrentLogSpans.

datedatetime

When it was logged, by the fiber's Clock (aware, UTC).

millisint

date in whole milliseconds since the epoch.

Functions

__init__

__init__(message, log_level, cause, fiber, date) -> None
ParameterTypeDescription
messagetuple[object, ...]
log_levelLogLevel
causeCause[object]
fiberFiber[Any, Any]
datedatetime