Struct amethyst::LoggerConfig [−][src]
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_backend_level: Option<LevelFilter>
Sets a different level for gfx_backend if Some
log_gfx_rendy_level: Option<LevelFilter>
Sets a different level for gfx_rendy if Some
module_levels: Vec<(String, LevelFilter)>
Sets the levels for specific modules.
Trait Implementations
impl Clone for LoggerConfig
[src]
fn clone(&self) -> LoggerConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LoggerConfig
[src]
impl Default for LoggerConfig
[src]
impl<'de> Deserialize<'de> for LoggerConfig where
LoggerConfig: Default,
[src]
LoggerConfig: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for LoggerConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for LoggerConfig
[src]
impl Send for LoggerConfig
[src]
impl Sync for LoggerConfig
[src]
impl Unpin for LoggerConfig
[src]
impl UnwindSafe for LoggerConfig
[src]
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
[src]
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
pub fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
pub fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
pub fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> Config for T where
T: for<'a> Deserialize<'a> + Serialize,
T: for<'a> Deserialize<'a> + Serialize,
pub fn load<P>(path: P) -> Result<T, ConfigError> where
P: AsRef<Path>,
P: AsRef<Path>,
pub fn load_bytes(bytes: &[u8]) -> Result<T, ConfigError>
pub fn write<P>(&self, path: P) -> Result<(), ConfigError> where
P: AsRef<Path>,
P: AsRef<Path>,
pub fn load_no_fallback<P>(path: P) -> Result<Self, ConfigError> where
P: AsRef<Path>,
P: AsRef<Path>,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> SetParameter for T
pub fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> Supports<T> for T
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> TryDefault for T where
T: Default,
T: Default,
pub fn try_default() -> Result<T, String>
pub fn unwrap_default() -> Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,