Skip to content

Releases: rbatis/fast_log

v1.3.19

02 Jan 16:38
Compare
Choose a tag to compare

v1.3.19

  • Support for compression uses less memory

v1.3.18

01 Jan 17:47
Compare
Choose a tag to compare

v1.3.18

  • fix log zip job move to work thread

v1.3.17

01 Jan 16:25
Compare
Choose a tag to compare

v1.3.17

  • read temp.log to zip file

v1.3.16

01 Jan 15:13
Compare
Choose a tag to compare

v1.3.16

The default configuration limits the compressed queue length

v1.3.15

01 Jan 14:28
Compare
Choose a tag to compare

v1.3.15

  • split log recode for Better implementation(No configuration file is required,Both file copy and file compression are performed in a separate thread)

v1.3.14

19 Dec 15:21
Compare
Choose a tag to compare

v1.3.14

  • fix zip file log not write data bug!(when use allow_zip_compress)

v1.3.13

16 Dec 15:14
Compare
Choose a tag to compare

v1.3.13

  • fix some bugs
  • support split file for file size.
//自定义日志追加器
    let mut appenders: Vec<Box<dyn LogAppender>> = vec![
        Box::new(FileSplitAppender::new("target/logs/", LogSize::MB(10), true))
    ];
    if CONFIG.debug {
        appenders.push(Box::new(ConsoleAppender {}));
    }
    //自定义日志过滤
    fast_log::init_custom_log(appenders,
                              1000,
                              log::Level::Info,
                              Box::new(ModuleFilter::new_exclude(vec!["sqlx".to_string()])),
    );

v1.3.11

02 Dec 14:08
Compare
Choose a tag to compare

v1.3.11

  • format log

v1.3.9

07 Nov 06:21
Compare
Choose a tag to compare

v1.3.9

v1.3.8

07 Nov 05:29
Compare
Choose a tag to compare

v1.3.8

En

  • Allow Multithreaded logging
  • fix performance

特性

  • 支持多线程日志记录,可以一个Appender 对应一条线程
  • 修复每条日志都重复format导致的性能问题,让新版本性能恢复如初