Module bones_framework::logging

source ·
Expand description

Logging module for bones. Provides implementation of global tracing subscriber and panic hook.

Enabled with feature “logging”. See docs of setup_logging for details + usage.

Re-exports§

Modules§

Structs§

  • Settings to enable writing tracing output to files.
  • Guard for file logging thread, this should be held onto for duration of app, if dropped writing to log file will stop.
  • Path to save log files. LogPath::find_app_data_dir may be used to to automatically find OS appropriate app data path from app namespace strings, e.g. (“org”, “fishfolk”, “jumpy”)
  • Plugin to enable tracing. Configures global tracing subscriber.

Enums§

Functions§

Type Aliases§