PackageTrack
Sign in Get early access

simplelog

A simple and easy-to-use logging facility for Rust's log crate

0.12.2 26M downloads/mo #1852 most downloaded on crates.io drakulix/simplelog.rs

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 12 months

Most releases are documented

notes for 26 of 32 stable releases

1 version withdrawn

withdrawn after publishing

10 years old

34 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

34 releases · Mar 2016 to Mar 2024
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 34
  1. 0.12.2 04 Mar 2024

    Nothing published for this version

  2. 0.12.1 02 Mar 2023

    Nothing published for this version

  3. 0.12.0 19 Apr 2022
    Release notes
    • Replaces the semingly unmaintained chrono library with the time crate.
    • Addresses through this update
      • RUSTSEC-2020-0159 (chrono)
      • RUSTSEC-2020-0071 (time)
    • ConfigBuilder::set_time_to_local is replaced by ConfigBuilder::set_time_offset_to_local.
      • This function requires the new (and by default activated) local-offset feature.
      • This function may fail, for more information read the docs.
      • simplelog will not determine the local offset dynamically anymore, but only once, when this config option is set.
        • Due to safety reasons there is no way to provide this property currently.
    • ConfigBuilder::set_time_offset now takes a time::UtcOffset instead of a chrono::FixedOffset.
    • ConfigBuilder::set_time_format has been replaced by three new variants
      • ConfigBuilder::set_time_format_rfc2822 sets the time format to use the format described by rfc2822.
      • ConfigBuilder::set_time_format_rfc3339 sets the time format to use the format described by rfc3339.
      • ConfigBuilder::set_time_format_custom sets the time format to a custom time format best created using time::macros::format_description.
        • Runtime provided time format configuration is possible, but difficult due to lifetime constraints.
        • Fixing this will require a solution to https://github.com/time-rs/time/issues/429
      • Note: The default format is unchanged "[hour]:[minute]:[second]"
    Open source →
    Release notes
    • Replaces the semingly unmainted chrono library with the time crate.
    • Addresses through this update
      • RUSTSEC-2020-0159 (chrono)
      • RUSTSEC-2020-0071 (time)
    • ConfigBuilder::set_time_to_local is replaced by ConfigBuilder::set_time_offset_to_local.
      • This function requires the new (and by default activated) local-offset feature.
      • This function may fail, for more information read the docs.
      • simplelog will not determine the local offset dynamically anymore, but only once, when this config option is set.
        • Due to safety reasons there is no way to provide this property currently.
    • ConfigBuilder::set_time_offset now takes a time::UtcOffset instead of a chrono::FixedOffset.
    • ConfigBuilder::set_time_format has been replaced by three new variants
      • ConfigBuilder::set_time_format_rfc2822 sets the time format to use the format described by rfc2822.
      • ConfigBuilder::set_time_format_rfc3339 sets the time format to use the format described by rfc3339.
      • ConfigBuilder::set_time_format_custom sets the time format to a custom time format best created using time::macros::format_description.
        • Runtime provided time format configuration is possible, but difficult due to lifetime constraints.
        • Fixing this will require a solution to https://github.com/time-rs/time/issues/429
      • Note: The default format is unchanged "[hour]:[minute]:[second]"
    Open source →
  4. 0.12.0-alpha1 05 Feb 2022 pre-release

    Nothing published for this version

  5. 0.11.2 10 Jan 2022

    Nothing published for this version

  6. 0.11.1 08 Dec 2021

    Nothing published for this version

  7. 0.11.0 12 Nov 2021
    Release notes
    • Add colored log levels using ansi_term (PR #88, credits to @manio)
    • Add target padding (PR #85, credits to @bytebeamio)
    • Add optional color and style support using paris crate (PR #84, credits to @manio)
    Open source →
  8. 0.10.2 27 Sep 2021
    Release notes

    Merge pull request #82 from mrkline/master

    Open source →
    Release notes
    • Fix flushing with BufferedStandardStreams (PR #82, credits to @mrkline)
    Open source →
  9. 0.10.1 22 Sep 2021 withdrawn
    Release notes
    • Fix TermLogger performance using termcolor::BufferedStandardStream (PR #80, credits to @mrkline)
    • Add write thread name support for termlog (PR #76, credits to @zeroflaw)
    Open source →
  10. 0.10.0 27 Mar 2021
    Release notes
    • Fix wrong argument naming (PR #70, credits to @scvalex)
    • Breaking: More color customization options (PR #72, credits to @mrkline)
    • Clarify docs on config levels
    Open source →
  11. 0.9.0 18 Dec 2020
    Release notes
    • Add customizable level label colors (PR #69. credits to @JarrettBillingsley)
    • Remove unneeded TermLogError
    • Future-proof config by adding #[non_exhaustive]
    • Fix compiling with minimal-versions
    Open source →
  12. 0.8.0 17 May 2020
    Release notes
    • Switch from term to termcolor (PR #59. credits to @raybritton)
    • Fix typo in docs (PR #58, credits to @anthonyjmartinez)
    • Switch default padding to Off. Padding is annoyingly controversial, just set it to whatever you prefer, if you want it.
    Open source →
    Release notes
    • Switch from term to termcolor (PR #59. credits to @raybritton)
    • Fix typo in docs (PR #58, credits to @anthonyjmartinez)
    • Switch default padding to Off. Padding is annoyingly controversal, just set it to whatever you prefer, if you want it.
    Open source →
  13. 0.7.6 26 Apr 2020
    Release notes
    • Derive Clone,Copy,PartialEq,Eq,Debug and Hash for TerminalMode. (PR #56, credits to @panhania)
    Open source →
  14. 0.7.5 28 Mar 2020
    Release notes
    • Use target() instead of module_path() for filtering as suggested by logs docs. (PR #52, credits to @tsidea)
    • Allow logging thread names and pad thread ids (defaults match the old behaviour). (PR #53, credits to @mulark)
    Open source →
  15. 0.7.4 12 Oct 2019
    Release notes
    • Fixed time formats with
    Open source →
  16. 0.7.3 16 Sep 2019
    Release notes
    • Fixed test feature
    Open source →
  17. 0.7.2 12 Sep 2019
    Release notes
    • Allow Level Padding to be configured
    Open source →
  18. 0.7.1 24 Aug 2019
    Release notes
    • Fix LevelFilter:Off not turning off parts of the log messages
    Open source →
  19. 0.7.0 20 Aug 2019
    Release notes
    • Add local time zone option
    • Change config to builder pattern avoiding future major version bumps
    • Add further documentation about dealing with TermLogger failing
    • term 0.6.* is now also supported
    Open source →
  20. 0.6.0 17 Jun 2019
    Release notes
    • Add time offset parameter (defaults to UTC)
    • Add thread_id output (credits to @kurtlawrence)
    • Pad log level
    • Add TestLogger (credits to @AlexW-GH)
    • Add stream configuration to TermLogger
    • Implement allow- and ignore-filtering (credits to @ryankurte)
    Open source →
  21. 0.5.3 10 Oct 2018
    Release notes
    • Fix minimal chrono version / update to chrono v0.4.1 (PR #27, credits to @samueltardieu)
    Open source →
  22. 0.5.2 13 May 2018
    Release notes
    • Don't interleave stdout and stderr (PR #23, credits to @hansjorg)
    Open source →
  23. 0.5.1 22 Mar 2018
    Release notes
    • Updated simplelog to log 0.4.1
    • Updated simplelog to term 0.5.1
    • Fixed compiler warning about unused #[macro_use]
    Open source →
  24. 0.5.0 01 Feb 2018
    Release notes
    • Update simplelog to log 0.4
    Open source →
  25. 0.4.4 11 Dec 2017
    Release notes
    • Fixed building non-default feature sets
    Open source →
  26. 0.4.3 18 Oct 2017
    Release notes
    • Publicly export TermLogger Error type
    Open source →
    Release notes
    • Publically export TermLogger Error type
    Open source →
  27. 0.4.2 09 Nov 2016
    Release notes
    • Removed a debug println! statement
    Open source →
  28. 0.4.1 09 Nov 2016
    Release notes
    • Fix None config value
    Open source →
  29. 0.4.0 08 Nov 2016
    Release notes
    • Config is not using LogLevelFilter anymore but Option<LogLevel>
      • None represents no logging of the Config parameter at all
      • LogLevelFilter::Off was supposed to provide this feature, but is actually ordered higher then LogLevelFilter::Error, and presents no filtering instead of the incorrectly assumed filter everything.
    Open source →
  30. 0.3.2 07 Nov 2016

    Nothing published for this version

  31. 0.3.1 07 Nov 2016

    Nothing published for this version

  32. 0.3.0 07 Nov 2016
    Release notes
    • Merged PullRequest by Antoni Boucher - Avoid unwrapping in TermLogger:
      • TermLogger::new now returns an Option
      • TermLogger::init now has its own ErrorType
    • Move FileLogger to WriteLogger
      • More generic, accepts not only File, but everything that implements Write
    • Loggers now initialize with a Config struct, that list, what parts of the typical log message shall be printed, at which levels
      • Migrate from ::init(level, ...) to ::init(level, Config::default(), ...)
      • Migrate from ::new(level, ...) or ::new(level, Config::default(), ...)
      • Exception: CombinedLogger has no use for its own Config and does not take the new argument
      • Optionally use rust's Default syntax to override some settings
        • E.g. always print location: Config { location: LogLevelFilter::Error, ..Default::default() }
        • E.g. never print the target: Config { target: LogLevelFilter::Off, ..Default::default() }
    • Target does now by default only log for Debug and lower
    • Added CHANGELOG
    • Removed some internal code duplication
    Open source →
  33. 0.2.0 02 Aug 2016
    Release notes
    • Local changes that (accidentally) made it to crates.io, but not git
      • Basically a worse version of Antoni Boucher 0.3.0 changes
      • Got noticed, when he made a Pull Request

    Sorry, what a mess. If you still have that version, here are the docs: https://docs.rs/simplelog/0.2.0/

    Open source →
    Release notes
    • Local changes that (accidentially) made it to crates.io, but not git
      • Basically a worse version of Antoni Boucher 0.3.0 changes
      • Got noticed, when he made a Pull Request

    Sorry, what a mess. If you still have that version, here are the docs: https://docs.rs/simplelog/0.2.0/

    Open source →
  34. 0.1.0 31 Mar 2016
    Release notes
    • Initial Release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive