pub struct Output { /* private fields */ }
Implementations§
source§impl Output
impl Output
pub fn new() -> Output
pub fn prefix<S: ToString>(self, s: S) -> Self
pub fn field<K: ToString, V: ToString>(self, key: K, val: V) -> Self
pub fn fields(self, map: HashMap<String, String>) -> Self
pub fn format(self, level: Level) -> String
pub fn panic<S: ToString>(self, content: S)
pub fn error<S: ToString>(self, content: S)
pub fn warn<S: ToString>(self, content: S)
pub fn info<S: ToString>(self, content: S)
pub fn debug<S: ToString>(self, content: S)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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