hp-log
high performance multi-thread log implement in rust
Usage
use the newest version from crate.io (recommand)
[]
= "0.3.0"
use the newest version by git
[]
= { = "https://github.com/wtu-sos/hp-log.git"}
Config File
# log level filter
# OFF ERROR WARN INFO DEBUG TRACE
= "TRACE"
[]
= true # Whether the output is on the console
= true
= true
= true
= true
= true
[]
= true # Whether to output in the log file
= true
= true
= true
= true
= true
= "/tmp/log/"
= "1048576"
Generated Code Example
extern crate hp_log;
extern crate log;
License
hp-log
is distributed under the terms of the Apache License (Version 2.0).
See LICENSE for details.
Copyright 2018 wtu-sos