pub trait LogLevelOverride: Sized {
    type Output;

    // Required method
    fn set_level(self, level: LogLevel) -> Self::Output;

    // Provided methods
    fn silent(self) -> Self::Output { ... }
    fn trace(self) -> Self::Output { ... }
    fn debug(self) -> Self::Output { ... }
    fn info(self) -> Self::Output { ... }
    fn warn(self) -> Self::Output { ... }
    fn error(self) -> Self::Output { ... }
}
👎Deprecated since 4.0.0: runtime log levels are not respected anymore
Expand description

Deprecated: This is completely ignored by bevy_mod_sysfail.

Required Associated Types§

source

type Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

The type resulting from applying the override.

Required Methods§

source

fn set_level(self, level: LogLevel) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

Provided Methods§

source

fn silent(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

source

fn trace(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

source

fn debug(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

source

fn info(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

source

fn warn(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

source

fn error(self) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Deprecated: This is completely ignored by bevy_mod_sysfail.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: FailureMode> LogLevelOverride for Result<(), T>

§

type Output = Result<(), OverrideLevel<T>>

👎Deprecated since 4.0.0: runtime log levels are not respected anymore
source§

fn set_level(self, level: LogLevel) -> Self::Output

👎Deprecated since 4.0.0: runtime log levels are not respected anymore

Implementors§