Logging data model
The data model of logs is an extension of emit
's events. Log events include the following well-known properties:
lvl
: a severity level assigned to the event."debug"
: a weakly informative event for live debugging."info"
: an informative event."warn"
: a weakly erroneous event for non-critical operations."error"
: an erroneous event.
err
: an error associated with the event.
There's some overlap between the logs data model and other extensions. Span events, for example, also support attaching levels and errors through lvl
and err
.