Functions§
- init_
from_ env - Initialize tracing using
LOG_FORMATenv var (“json” or “text”, default json). - init_
with_ format - Initialize global tracing subscriber with the given log format. Safe to call multiple times; only the first call installs a subscriber.
- task_
span - Create a span for a task with common fields as per the spec.