[][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 Debug for LoggerConfig[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> Erased for T

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

impl<T> Supports<T> for T

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

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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

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

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