Struct rust_logging::LoggerOptions
source · [−]pub struct LoggerOptions {
pub icon_connector: String,
pub error_icon: String,
pub info_icon: String,
pub warning_icon: String,
pub success_icon: String,
pub highlight: bool,
pub log_file: String,
pub colors: Colors,
}Fields
icon_connector: Stringerror_icon: Stringinfo_icon: Stringwarning_icon: Stringsuccess_icon: Stringhighlight: boollog_file: Stringcolors: ColorsImplementations
sourceimpl LoggerOptions
impl LoggerOptions
pub fn get_logger(self) -> Logger
Trait Implementations
sourceimpl Default for LoggerOptions
impl Default for LoggerOptions
sourcefn default() -> LoggerOptions
fn default() -> LoggerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for LoggerOptions
impl Send for LoggerOptions
impl Sync for LoggerOptions
impl Unpin for LoggerOptions
impl UnwindSafe for LoggerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more