Enum Target
#[non_exhaustive]
pub enum Target
Log target, either stdout, stderr or a custom pipe.
Variants
-
Stdout Logs will be sent to standard output.
-
Stderr Logs will be sent to standard error.
-
Pipe(Box<dyn Write + Send + 'static>) Logs will be sent to a custom pipe.
Trait Implementations
impl Debug for Target
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Target
fn default() -> Self