{"repo":"rbatis/fast_log","free":true,"listed":false,"github":"https://github.com/rbatis/fast_log","clone":"git clone https://github.com/rbatis/fast_log.git","description":"Rust async log High-performance asynchronous logging","language":"Rust","stars":268,"topics":["rust","log","async","logging"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"fast log A log implementation for extreme speed, using Crossbeam/channel ,once Batch write logs,fast log date, Appender architecture, appender per thread High performance,Low overhead, logs auto merge, Full APPEND mode file writing Built-in ZIP , LZ4 compression Support use method wait to flush disk Support custom file(impl Trait) Support rolling log( ByDate , BySize , ByDuration ) Support Keep log( All , KeepTime , KeepNum ) Delete old logs,Prevent logs from occupying the disk uses #![forbid(unsafe code)] 100% Safe Rust. Architecture How fast is? no flush(chan len=1000000) benches/log.rs all log flush into file(chan len=1000000) example/bench test file.rs how to use? or enable zip/lz4/gzip Compression library Performance optimization(important) use Preallocating channel memory reduces the overhead of memory allocation，for example: Use Log(Console) Use Log(Console Print) Use Log(File) Split Log(ByLogDate) Split Log(ByLogSize) Custom Log(impl do log method)","default_branch":null,"files":null,"tree":[],"storefront":"/r/rbatis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rbatis/fast_log/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}