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 UnwindSafe for LogConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more