Expand description
Implementation of common Rust log usable by IC canisters. See the documentation for Logger
about how to initialize and use log.
This crate also provides a canister trait [canister::LogCanister] (use canister feature to
enable), which simplifies adding logging configuration to your canister.
Modules§
Structs§
- Builder
Builderacts as builder for initializing aLogger.- LogSettings
- Logger settings.
- Logger
- The logger.
- Logger
Config Handle - A handle to the runtime configuration of the logger
Functions§
- init_
log - Builds and initialize a logger based on the settings
- take_
memory_ records - Take the log memory records for the circular buffer.