slog-term
Unix terminal drain and formatter for slog-rs
2.9.2
60M downloads/mo
#1113 most downloaded on crates.io
slog-rs/term
What this package is like to depend on
Last release 1 years ago
21 Aug 2025
Release timing varies
gaps range from 2 weeks to 2.0 years
Most releases are documented
notes for 27 of 32 stable releases
2 versions withdrawn
withdrawn after publishing
10 years old
45 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
45 releases · Jul 2016 to Aug 2025Releases
latest 45-
2.9.221 Aug 2025Release notes
Open source →Fixed
- Avoid thread-safety issues with
localtime_rfunction by usingchronoto detect local time.- Unfortunately this adds another dependency. In the future I plan to avoid this by switching from time to chrono entirely.
- Upgrade to term v1.0. Fixes slog#267
Changed
- Respect the
NO_COLORenvironment variable.
- Avoid thread-safety issues with
-
2.9.118 Feb 2024Release notes
Open source →Fixed
- Switch from
attytois_terminal- Avoids RUSTSEC-2021-0145
- Merges PR #47 - Thanks @rkd-msw
Changed
- Bump MSRV to 1.63
- This rust version was released almost 2 years ago. I don't consider this significant enough to bump the minor version.
- Switch from
-
2.9.021 Feb 2022Release notes
Open source →Changed
- Switch from
chronototime- Merges PR #39 - Thanks @JanZerebecki
- Avoids RUSTSEC-2020-0159
- BREAKING: Bump MSRV to 1.53
- Switch from Travis CI to Github Actions
- Switch from
-
2.8.109 Feb 2022Release notes
Open source →Fixed
- Disable default features on chrono to address RUSTSEC-2020-0071 aka CVE-2020-26235
- Use SPDX compliant license name
-
2.8.010 Feb 2021 -
2.7.007 Feb 2021Release notes
Open source →Added
- option in full format builder to enable file location
print_msg_headercustomization
-
2.6.029 May 2020Release notes
Open source →- Fix detection of terminals without color support
- Add support for slog/nested-values
- Documentation fixes
-
2.5.029 Jan 2020Release notes
Open source →- Upgrade to thread_local 1
- Fix
clippywarnings on 2018 edition - Cargo.toml - 2018 edition
-
2.4.226 Oct 2019Release notes
Open source →Changed
Make public the following elements to be able to reuse for your own implementations:
print_msg_headerSerializerSerializer::newSerializer.finish()CompactFormatSerializerCompactFormatSerializer::newCompactFormatSerializer.finish()CountingWriterCountingWriter::newCountingWriter.count()
-
2.4.111 Jul 2019 -
2.4.014 Apr 2018 -
2.3.011 Nov 2017Release notes
Open source →Changed
- Change semantics of
TermDecorator::buildthat didn't make sense before.
- Change semantics of
-
2.2.026 Aug 2017 -
2.1.005 Aug 2017 -
2.0.431 Jul 2017 -
2.0.331 Jul 2017Nothing published for this version
-
2.0.230 Jun 2017Nothing published for this version
-
2.0.109 May 2017 -
2.0.030 Apr 2017 -
2.0.0-alpha124 Feb 2017 pre-release withdrawnNothing published for this version
-
2.0.0-4.012 Apr 2017 pre-release -
2.0.0-3.028 Mar 2017 pre-release -
2.0.0-2.117 Mar 2017 pre-releaseRelease notes
Open source →Fixed
TermDecoratorBuilder::build()will not panic anymoreTermDecoratorwill automatically detect if colors should be used- Add helper functions for drains with default settings
Added
- Color settings for
TermDecorator TermDecoratorBuilder::try_build()that returnsOption
-
2.0.0-2.012 Mar 2017 pre-releaseRelease notes
Open source →Changed
- Full rewrite, ditch
slog-stream - Use
termso should work on Linux and Windows shells out of the box - Allow extending (eg. for
termionand other terminal crates) - Compact mode now prints one value per line. Groups are not exposed by
sloganymore.
- Full rewrite, ditch
-
2.0.0-1.005 Mar 2017 pre-releaseNothing published for this version
-
1.5.006 Feb 2017Release notes
Open source →Change
- Reverse the order of record values in full mode to match slog 1.5 definition
-
1.4.030 Jan 2017Release notes
Open source →Changed
- Fix a bug in
new_plainthat would make it still use colors. - No comma will be printed after an empty "msg" field
- Changed order of full format values
- Fix a bug in
-
1.3.513 Jan 2017Release notes
Open source →Fixed
- 1.3.4 with
?operator breaks semver - fix allows builds on stable Rust back to 1.11
- 1.3.4 with
-
1.3.428 Dec 2016 withdrawn -
1.3.301 Nov 2016 -
1.3.228 Oct 2016 -
1.3.122 Oct 2016 -
1.3.022 Oct 2016 -
1.2.018 Oct 2016 -
1.1.029 Sep 2016Release notes
Open source →Added
- Custom timestamp function support
Changed
- Logging level color uses only first 8 ANSI terminal colors for better compatibility
-
1.0.021 Sep 2016 -
1.0.0-alpha820 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-alpha714 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-alpha612 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-alpha309 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-alpha228 Aug 2016 pre-releaseNothing published for this version
-
1.0.0-alpha17 Aug 2016 pre-releaseNothing published for this version
-
0.7.002 Aug 2016Nothing published for this version
-
0.6.019 Jul 2016Nothing published for this version
-
0.5.011 Jul 2016Nothing published for this version