Skip to main contentCrate cosmian_logger
Source pub use error::LoggingError;pub use error::LoggingResult;pub use error::ResultExt;pub use types::LoggingGuards;pub use types::TelemetryConfig;pub use types::TelemetryGuards;pub use types::TracingConfig;
- error
- reexport
- Re-exports for downstream crates (used by the logging macros).
- types
- debug
- Emit a
tracing::debug! event, automatically adding a fn_name field. - error
- Emit a
tracing::error! event, automatically adding a fn_name field. - info
- Emit a
tracing::info! event, automatically adding a fn_name field. - trace
- Emit a
tracing::trace! event, automatically adding a fn_name field. - warn
- Emit a
tracing::warn! event, automatically adding a fn_name field.
- init_tracing
- Initialise structured logging, OTLP tracing, OTLP logs, and OTLP metrics.
- log_init
- Convenience initialiser for tests and simple CLIs (stdout only).
- tracing_init
- Initialise the global tracing subscriber from a
TracingConfig.