Struct salak_factory::LogConfig [−][src]
pub struct LogConfig { /* fields omitted */ }
This is supported on crate feature
enable_log
only.Tracing log configuration
property | required | default |
---|---|---|
logging.ignores | false | |
logging.max_level | false | |
logging.app_name | false | ${app.name:} |
logging.buffer_size | false | 8912 |
logging.enable_tracing | false | false |
Trait Implementations
impl AutoDeriveFromEnvironment for LogConfig
[src]
impl Buildable for LogConfig
[src]
type Product = LogWriter
Target product.
type Customizer = ()
Customize when building.
fn prefix() -> &'static str
[src]
fn build_with_key(
self,
_: &impl Environment,
_: Self::Customizer
) -> Result<Self::Product, PropertyError>
[src]
self,
_: &impl Environment,
_: Self::Customizer
) -> Result<Self::Product, PropertyError>
fn build(
namespace: &str,
env: &impl Environment,
customize: Self::Customizer
) -> Result<Self::Product, PropertyError>
[src]
namespace: &str,
env: &impl Environment,
customize: Self::Customizer
) -> Result<Self::Product, PropertyError>
fn list_keys(namespace: &str) -> Vec<(String, bool, Option<String>)>
[src]
impl Debug for LogConfig
[src]
impl DefaultSourceFromEnvironment for LogConfig
[src]
impl FromEnvironment for LogConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogConfig
impl Send for LogConfig
impl Sync for LogConfig
impl Unpin for LogConfig
impl UnwindSafe for LogConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be 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>,