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§
- Color
Mode - 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 aDisplay
-able output - Targetable
- A trait for log targets. Implemented for
Target
and for allFn(String) + Send + Sync + 'static
.
Functions§
- logger
- Convenience alias for
Logger::new