Skip to content

Releases: rbatis/fast_log

v1.3.31

25 Sep 07:55
Compare
Choose a tag to compare

v1.3.31

  • Optimize the background thread to one

v1.3.29

25 Sep 05:37
Compare
Choose a tag to compare

v1.3.29

  • Expand the capacity ratio of background channels

v1.3.27

24 Sep 13:16
Compare
Choose a tag to compare

v1.3.27

  • Fix log splitting bug and improve performance(Double performance)

v1.3.26

24 Sep 09:38
Compare
Choose a tag to compare

v1.3.26

  • Code optimization,Improve certain performance

v1.3.24

22 Jul 11:38
Compare
Choose a tag to compare

v1.3.24

  • log appender will auto create path

v1.3.21

03 Jan 11:11
Compare
Choose a tag to compare

v1.3.21

  • add log format
/// format record data
pub trait RecordFormat: Send {
    fn do_format(&self, arg: &mut FastLogRecord);
}
pub struct FastLogFormatRecord {}

impl RecordFormat for FastLogFormatRecord {
    fn do_format(&self, arg: &mut FastLogRecord) {
        let data;
        let now = format!("{:36}", arg.now.to_string());
        match arg.level {
            Level::Warn | Level::Error => {
                data = format!("{} {} {} - {}  {}\n", &now, arg.level, arg.module_path, arg.args, arg.format_line());
            }
            _ => {
                data = format!("{} {} {} - {}\n", &now, arg.level, arg.module_path, arg.args);
            }
        }
        arg.formated = data;
    }
}

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