pub struct RichHandler {
pub console: Console,
pub show_time: bool,
pub show_level: bool,
pub show_path: bool,
pub enable_link_path: bool,
pub markup: bool,
pub highlighter: ReprHighlighter,
}Expand description
A handler that renders Python-style log records with Rich formatting.
In Rust, this integrates with the log crate.
Fields§
§console: Console§show_time: bool§show_level: bool§show_path: bool§enable_link_path: bool§markup: bool§highlighter: ReprHighlighterImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RichHandler
impl !RefUnwindSafe for RichHandler
impl Send for RichHandler
impl !Sync for RichHandler
impl Unpin for RichHandler
impl UnsafeUnpin for RichHandler
impl !UnwindSafe for RichHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more