pub struct LoggerStdout { /* private fields */ }
Implementations§
Source§impl LoggerStdout
impl LoggerStdout
pub fn builder() -> LoggerStdoutBuilder
Source§impl LoggerStdout
impl LoggerStdout
pub fn level(&self) -> LevelFilter
Trait Implementations§
Source§impl Log for LoggerStdout
impl Log for LoggerStdout
Source§impl LoggerBuilder<LoggerStdout> for LoggerStdoutBuilder
impl LoggerBuilder<LoggerStdout> for LoggerStdoutBuilder
Source§fn filter<F>(self, predicate: F, dependency: impl ToString) -> Self
fn filter<F>(self, predicate: F, dependency: impl ToString) -> Self
Ajoute un filtre au système de log.
Source§fn with_color(self, colorized: impl Into<bool>) -> Self
fn with_color(self, colorized: impl Into<bool>) -> Self
Autorise ou non les logs à avoir les couleurs sur les informations
contrôlées par notre système.
Source§fn with_format(
self,
format: fn(&Arguments<'_>, &Record<'_>, &mut Echo<'_>) -> String,
) -> Self
fn with_format( self, format: fn(&Arguments<'_>, &Record<'_>, &mut Echo<'_>) -> String, ) -> Self
Le format du log.
Source§fn with_level(self, level: impl Into<LevelFilter>) -> Self
fn with_level(self, level: impl Into<LevelFilter>) -> Self
Le niveau de log.
Source§fn with_timestamp(self, b: impl Into<bool>) -> Self
fn with_timestamp(self, b: impl Into<bool>) -> Self
Autorise ou non les logs à avoir un timestamp.
Source§fn build(self) -> LoggerStdout
fn build(self) -> LoggerStdout
Construction du logger.
Auto Trait Implementations§
impl Freeze for LoggerStdout
impl !RefUnwindSafe for LoggerStdout
impl Send for LoggerStdout
impl Sync for LoggerStdout
impl Unpin for LoggerStdout
impl !UnwindSafe for LoggerStdout
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