[][src]Struct amethyst::LoggerConfig

pub struct LoggerConfig {
    pub stdout: StdoutLog,
    pub level_filter: LevelFilter,
    pub log_file: Option<PathBuf>,
    pub allow_env_override: bool,

Logger configuration object.


stdout: StdoutLog

Determines whether to log to the terminal or not.

level_filter: LevelFilter

Sets the overarching level filter for the logger.

log_file: Option<PathBuf>

If set, enables logging to file at the given path.

allow_env_override: bool

If set, allows the config values to be overriden via the corresponding environmental variables.

Trait Implementations

impl Default for LoggerConfig[src]

impl Clone for LoggerConfig[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Serialize for LoggerConfig[src]

impl<'de> Deserialize<'de> for LoggerConfig[src]

Auto Trait Implementations

impl Send for LoggerConfig

impl Sync for LoggerConfig

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> TryDefault for T where
    T: Default

fn unwrap_default() -> Self

Calls try_default and panics on an error case.

impl<T> Any for T where
    T: Any

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Erased for T

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> Config for T where
    T: Deserialize<'a> + Serialize + Default