pub struct LoggerConfig {
pub channel_capacity: usize,
pub destinations: Vec<LogDestination>,
pub file_buffer_size: usize,
pub enable_cpu_affinity: bool,
}
Expand description
Configuration for the lightning logger
Fields§
§channel_capacity: usize
Channel capacity for buffering log entries
destinations: Vec<LogDestination>
Output destinations
file_buffer_size: usize
Buffer size for file output (in bytes)
enable_cpu_affinity: bool
Enable CPU affinity for logging thread
Trait Implementations§
Source§impl Clone for LoggerConfig
impl Clone for LoggerConfig
Source§fn clone(&self) -> LoggerConfig
fn clone(&self) -> LoggerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoggerConfig
impl Debug for LoggerConfig
Auto Trait Implementations§
impl Freeze for LoggerConfig
impl RefUnwindSafe for LoggerConfig
impl Send for LoggerConfig
impl Sync for LoggerConfig
impl Unpin for LoggerConfig
impl UnwindSafe for LoggerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more