Skip to main content

Module logging

Module logging 

Source
Expand description

tracing initialization.

Three formats supported:

  • text — human-readable, single-line per event (default for terminals).
  • json — structured, one JSON object per line (for log aggregators).
  • pretty — multi-line human format (good for development).

Functions§

init
Initialize the global tracing subscriber.