Struct File LogSink Config
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct FileLogSinkConfig {
pub path: PathBuf,
pub level: LogLevel,
pub format: LogFormat,
pub queue_capacity: usize,
}
File sink settings for non-blocking operational logging.
Relative path values are resolved against the process current working directory at sink open time. Absolute paths are used as-is. ~ and env expansion are not applied.
File sinks write through an async queue so logging cannot stall the process on disk I/O. queue_capacity is an optional advanced override; an omitted value uses DEFAULT_FILE_SINK_QUEUE_ENTRIES.
Fields
path: PathBuf
Destination file path.
level: LogLevel
Minimum severity for this file sink.
format: LogFormat
Output encoding for this file sink.
queue_capacity: usize
Maximum pending asynchronous queue entries for this file sink. Must be greater than 0 and at most MAX_FILE_SINK_QUEUE_ENTRIES.
Trait Implementations
impl Clone for FileLogSinkConfig
impl Clone for FileLogSinkConfig
clone
fn clone(&self) -> FileLogSinkConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for FileLogSinkConfig
impl Debug for FileLogSinkConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for FileLogSinkConfig
impl Default for FileLogSinkConfig
default
fn default() -> Self
impl PartialEq for FileLogSinkConfig
impl PartialEq for FileLogSinkConfig
eq
fn eq(&self, other: &FileLogSinkConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Eq for FileLogSinkConfig
impl Eq for FileLogSinkConfig
impl StructuralPartialEq for FileLogSinkConfig
impl StructuralPartialEq for FileLogSinkConfig