Skip to content

Features

Defmc edited this page Apr 2, 2022 · 1 revision
feature description additional dependence why
date Include date on the log, formatted as %Y-%M-%D chrono To format system date
time Similar to date, but logs the time with %H:%M:%S chrono To format system time
context Include the line and file that has required the log none
colored Use escape sequences to print stylized text crossterm Crossplatform escape sequences parser
persistent Add a persistent log handled by LOG_FILEPATH environment variable, saving each log on the pointed file parking_lot const_mutex for stable Rust and optimizations
impls Implements log and show_<variant> for Option<T> and Result<T, U> none

Clone this wiki locally