Crate twyg

Crate twyg 

Source

Re-exports§

pub use color::Color;
pub use color::ColorAttribute;
pub use color::Colors;
pub use error::Result;
pub use error::TwygError;
pub use level::LogLevel;
pub use logger::Logger;
pub use opts::Opts;
pub use opts::OptsBuilder;
pub use opts::PadSide;
pub use out::STDERR;
pub use out::STDOUT;
pub use output::Output;
pub use timestamp::TSFormat;

Modules§

color
Color configuration for log formatting.
error
Error types for the twyg logging library.
level
Log level types and conversions.
logger
Logger implementation with direct log::Log trait implementation.
opts
Logger configuration options.
out
Backwards compatibility constants for output destinations.
output
Output destination types and conversions.
timestamp
Timestamp format configuration.

Functions§

setup
Sets up the twyg logger based upon the provided options.