[−][src]Struct sloggers::terminal::TerminalLoggerConfig
The configuration of TerminalLoggerBuilder
.
Fields
level: Severity
Log level.
format: Format
Log record format.
source_location: SourceLocation
Source code location
timezone: TimeZone
Time Zone.
destination: Destination
Output destination.
channel_size: usize
Asynchronous channel size
overflow_strategy: OverflowStrategy
Whether to drop logs on overflow.
The possible values are drop
, drop_and_report
, or block
.
The default value is drop_and_report
.
Trait Implementations
impl Clone for TerminalLoggerConfig
[src]
fn clone(&self) -> TerminalLoggerConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Config for TerminalLoggerConfig
[src]
type Builder = TerminalLoggerBuilder
Logger builder.
fn try_to_builder(&self) -> Result<Self::Builder>
[src]
fn build_logger(&self) -> Result<Logger>
[src]
impl Debug for TerminalLoggerConfig
[src]
impl Default for TerminalLoggerConfig
[src]
fn default() -> TerminalLoggerConfig
[src]
impl<'de> Deserialize<'de> for TerminalLoggerConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for TerminalLoggerConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for TerminalLoggerConfig
impl Send for TerminalLoggerConfig
impl Sync for TerminalLoggerConfig
impl Unpin for TerminalLoggerConfig
impl UnwindSafe for TerminalLoggerConfig
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,