[−][src]Enum flexi_logger::LogTarget
Describes the target to which flexi_logger
's standard log output stream writes to.
See the writers module for the usage of additional log writers.
Variants
StdErr
Log is written to stderr.
StdOut
Log is written to stdout.
File
Log is written to a file.
The default pattern for the filename is '<program_name>_<date>_<time>.<suffix>',
e.g. myprog_2015-07-08_10-44-11.log
.
DevNull
Log is processed as if it were written, but is finally not written.
This can be useful for running tests with all log-levels active to ensure that the log calls which are normally not active will not cause undesired side-effects when activated (note that the log macros may prevent arguments of inactive log-calls from being evaluated).
Auto Trait Implementations
impl Sync for LogTarget
impl Send for LogTarget
impl Unpin for LogTarget
impl RefUnwindSafe for LogTarget
impl UnwindSafe for LogTarget
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,