changed log's output dir
This commit is contained in:
parent
a5535d66f3
commit
b58b18d9c3
@ -1,5 +1,8 @@
|
||||
use tracing_appender::non_blocking::WorkerGuard;
|
||||
|
||||
pub fn init_log() -> WorkerGuard {
|
||||
rolling_file::default(true, true, tracing::Level::DEBUG)
|
||||
pub fn init_log(output_dir: &str) -> WorkerGuard {
|
||||
rolling_file::default_with_output_dir(output_dir, true, true, tracing::Level::DEBUG)
|
||||
// rolling_file::default(true, true, tracing::Level::DEBUG)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user