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


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>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

impl<T> Same<T> 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> Serialize for T where
    T: Serialize + ?Sized

impl<T> Clone for T where
    T: Clone

impl<T> Supports<T> for T

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

fn load_no_fallback<P>(path: P) -> Result<Self, ConfigError> where
    P: AsRef<Path>, 


use load instead

Loads a configuration structure from a file.

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

fn adapt_into(self) -> D[src]

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

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,