All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Upgrade to thread_local 1
- Fix
clippy
warnings on 2018 edition - Cargo.toml - 2018 edition
Make public the following elements to be able to reuse for your own implementations:
print_msg_header
Serializer
Serializer::new
Serializer.finish()
CompactFormatSerializer
CompactFormatSerializer::new
CompactFormatSerializer.finish()
CountingWriter
CountingWriter::new
CountingWriter.count()
- Lazily evaluate color detection (GH-214).
- Bump
term
dependency
- Change semantics of
TermDecorator::build
that didn't make sense before.
use_original_order
forFullFormat
- Writer that plays nicely with unit tests
- Improved documentation
- Relicense under MPL/Apache/MIT
- Fix commas on empty message
- Just release major version
- Update slog dependency
- Update slog dependency
TermDecoratorBuilder::build()
will not panic anymoreTermDecorator
will automatically detect if colors should be used- Add helper functions for drains with default settings
- Color settings for
TermDecorator
TermDecoratorBuilder::try_build()
that returnsOption
- Full rewrite, ditch
slog-stream
- Use
term
so should work on Linux and Windows shells out of the box - Allow extending (eg. for
termion
and other terminal crates) - Compact mode now prints one value per line. Groups are not exposed by
slog
anymore.
- Reverse the order of record values in full mode to match slog 1.5 definition
- Fix a bug in
new_plain
that would make it still use colors. - No comma will be printed after an empty "msg" field
- Changed order of full format values
- 1.3.4 with
?
operator breaks semver - fix allows builds on stable Rust back to 1.11
- Added
Send+Sync
toDrain
returned onbuild
- Fix compact format, repeating some values unnecessarily.
- Make
Format
public so it can be reused
- BREAKING: Switched
AsyncStramer
toslog_extra::Async
- BREAKING: Rewrite handling of owned values.
- Custom timestamp function support
- Logging level color uses only first 8 ANSI terminal colors for better compatibility
First stable release.