Skip to content

Commit

Permalink
edit FileSplitAppender temp_name
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Sep 13, 2023
1 parent d155d81 commit 802feec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/split_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use fast_log::plugin::packer::LogPacker;
fn main() {
//file_path also can use '"target/logs/test.log"'
fast_log::init(Config::new().chan_len(Some(100000)).console().file_split(
"logs/auth-center.log",
"target/logs/",
LogSize::MB(1),
RollingType::All,
LogPacker {},
Expand Down

0 comments on commit 802feec

Please sign in to comment.