[go: up one dir, main page]

Enum sloggers::terminal::Destination [] [src]

pub enum Destination {
    Stdout,
    Stderr,
}

The destination to which log records will be outputted.

Examples

The default value:

use sloggers::terminal::Destination;

assert_eq!(Destination::default(), Destination::Stdout);

Variants

Standard output.

Standard error.

Trait Implementations

impl Debug for Destination
[src]

[src]

Formats the value using the given formatter.

impl Clone for Destination
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Destination
[src]

impl PartialEq for Destination
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Destination
[src]

impl Default for Destination
[src]

[src]

Returns the "default value" for a type. Read more