mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-06 14:50:14 +00:00
minor changes
This commit is contained in:
parent
b7e59b130e
commit
050f8c0e65
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ pub unsafe extern "C" fn tun2proxy_with_name_run(
|
|||
|
||||
log::set_max_level(verbosity.into());
|
||||
if let Err(err) = log::set_boxed_logger(Box::<crate::dump_logger::DumpLogger>::default()) {
|
||||
log::error!("set logger error: {}", err);
|
||||
log::warn!("set logger error: {}", err);
|
||||
}
|
||||
|
||||
let proxy_url = std::ffi::CStr::from_ptr(proxy_url).to_str().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue