Module foundations::telemetry::log

source ·
Available on (crate features logging or metrics or telemetry or tracing) and crate feature logging only.
Expand description

Logging-related functionality.

Modules§

  • log_volumemetrics
    foundations::telemetry::log::log_volume_metrics provides metrics collection based on log volume.

Macros§

  • Adds fields to all the log records, making them context fields.
  • Log debug level record.
  • Log error level record.
  • Log info level record.
  • Log trace level record.
  • Log warning level record.

Structs§

Functions§

  • Sets current log’s verbosity, overriding the settings used in init.
  • Returns current log as a raw slog crate’s Logger used by Foundations internally.
  • Gets the current log’s verbosity.