Releases: qwerty541/logged-stream
Releases · qwerty541/logged-stream
v0.4.0
Added
- Added
FileLogger
structure which is the newLogger
trait implementation, it writes log records into a file. - Created an example of
FileLogger
structure usage. - Created basic performance tests for
BufferFormatter
andRecordFilter
traits implementations usingcriterion
library. - Added
#[inline]
attribute to several methods to improve performance based on the results of performance tests.
Fixed
- Removed unnecessary imports to fix clippy lints.
- Fixed indentation of documentation comments in several places to fix
doc_lazy_continuation
clippy lint.
Documentation
- Table of contents currently hidden by default.
- Extended description section with use cases information.
Dependencies
- Updated
itertools
from 0.12.1 to 0.13.0 - Updated
mio
from 0.8.10 to 0.8.11 - Updated
log
from 0.4.20 to 0.4.21 - Updated
chrono
from 0.4.34 to 0.4.38 - Updated
tokio
from 1.36.0 to 1.38.0
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
- Changed
BufferFormatter::get_separator
method signature.
Before:
fn get_separator(&self) -> &'static str;
After:
fn get_separator(&self) -> &str;
- Added
new_owned
andnew_default
methods for everyBufferFormatter
trait implementation. - Implemented
Default
trait for everyBufferFormatter
trait implementation. - Cover more code with tests.
- Improved examples section inside README file.
v0.3.0
v0.2.5
v0.2.4
- Traits
BufferFormatter
,RecordFilter
andLogger
now are object safe and do not requireSized
implementation. This is the same change as in the previous minor version, but done correctly and covered with tests. Unfortunately I had a misunderstanding of trait object safety.