Crate trillium_logger

Source
Expand description

Welcome to the trillium logger!

Re-exports§

pub use crate::formatters::apache_combined;
pub use crate::formatters::apache_common;
pub use crate::formatters::dev_formatter;

Modules§

formatters
Components with which common log formats can be constructed

Structs§

Logger
The trillium handler for this crate, and the core type

Enums§

ColorMode
A configuration option that determines if format will be colorful.
Target
Specifies where the logger output should be sent

Traits§

LogFormatter
The interface to format a &[Conn] as a Display-able output
Targetable
A trait for log targets. Implemented for Target and for all Fn(String) + Send + Sync + 'static.

Functions§

logger
Convenience alias for Logger::new