Structs§
- Logger
Runtime - The lifetime of this struct is the lifetime of the logger.
- NullLog
- Owning
IoWriter - Simple
File Writer - This allows this crate to be used outside of Copper (ie. decoupling it from the unifiedlog.
Functions§
- format_
message_ only - log
- Public entry point used in release / no-debug paths.
- log_
debug_ mode - This version of log is only compiled in debug mode This allows a normal logging framework to be bridged.
- register_
live_ log_ listener - Register a live log listener; subsequent logs invoke
cb. No-op if runtime not initialized. - structured_
log_ bytes_ total - Returns the total number of bytes written to the structured log stream.
- unregister_
live_ log_ listener - Remove any registered live log listener. No-op if runtime not initialized.
Type Aliases§
- Live
LogListener - Callback signature: receives the structured entry plus its format string and param names.