Enum flexi_logger::ErrorChannel
source · pub enum ErrorChannel {
StdErr,
StdOut,
File(PathBuf),
DevNull,
}
Expand description
Enum for defining the output channel for flexi_logger
’s own error messages.
These are only written if flexi_logger
cannot do what it is supposed to do,
so under normal circumstances no single message shuld appear.
By default these error messages are printed to stderr
.
Variants§
StdErr
Write flexi_logger
’s own error messages to stderr
.
StdOut
Write flexi_logger
’s own error messages to stdout
.
File(PathBuf)
Write flexi_logger
’s own error messages to the specified file.
DevNull
Don’t write flexi_logger
’s own error messages.
Trait Implementations§
source§impl Debug for ErrorChannel
impl Debug for ErrorChannel
source§impl Default for ErrorChannel
impl Default for ErrorChannel
source§fn default() -> ErrorChannel
fn default() -> ErrorChannel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ErrorChannel
impl Send for ErrorChannel
impl Sync for ErrorChannel
impl Unpin for ErrorChannel
impl UnwindSafe for ErrorChannel
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