Crate winston

Crate winston 

Source

Re-exports§

pub use logform as format;

Modules§

transports

Macros§

create_level_macros
create_log_methods
log
meta

Structs§

LogQuery
Logger
LoggerOptions
LoggerTransport

Enums§

BackpressureStrategy

Functions§

add_transport
Add a transport to the global logger and return a handle for later removal.
close
configure
flush
init
Initialize the global logger. Must be called once before using other functions.
is_initialized
Check if the global logger has been initialized.
log
query
remove_transport
Remove a transport by its handle. Returns true if the transport was found and removed, false otherwise.
try_log
Try to log without panicking if not initialized. Returns false if logger not initialized.