[][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

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.

log_gfx_device_level: Option<LevelFilter>

Sets a different level for gfx_device_gl if Some

Trait Implementations

impl Default for LoggerConfig[src]

impl Clone for LoggerConfig[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[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> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

type Output = T

Should always be Self

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

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> Erased for T

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

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

impl<T> Supports for T

impl<S, D, Swp, Dwp, T> AdaptInto for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

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
[src]

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

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