Struct shadowsocks_rust::config::LogConfig
source · pub struct LogConfig {
pub level: u32,
pub format: LogFormatConfig,
pub config_path: Option<PathBuf>,
}Expand description
Logger configuration
Fields§
§level: u32Default logger log level, [0, 3]
format: LogFormatConfigDefault logger format configuration
config_path: Option<PathBuf>Logging configuration file path
Trait Implementations§
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§
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