oa::LogConfig

Shared logging configuration. Used as a building block in CLI configs and passed to crate::runtime::LogOptions or crate::LogMetrics.

StRust public API

Declaration

pub struct LogConfig { pub dir: Path, pub level: String, pub console: bool, pub file: bool, pub metrics: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> LogConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &LogConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

dirPathfield
levelStringfield
consoleboolfield
fileboolfield
metricsboolfield

Public Method Documentation

fn clone( &self ) -> LogConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &LogConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.