[][src]Struct amethyst::LoggerConfig

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

Logger configuration object.

Fields

Determines whether to log to the terminal or not.

Sets the overarching level filter for the logger.

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

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

Sets a different level for gfx_device_gl if Some

Trait Implementations

impl Default for LoggerConfig
[src]

impl Clone for LoggerConfig
[src]

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, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

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

impl<T> Same for T

Should always be Self

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

impl<T> Any for T where
    T: Any

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

impl<T> TryDefault for T where
    T: Default

Calls try_default and panics on an error case.

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

impl<T> Erased for T

impl<T> Erased for T

impl<T> SetParameter for T

Sets value as a parameter of self.

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