#logging #log #simple

mhlog

MHlog is a simple, thread-safe logging library

9 stable releases

3.0.1 Oct 15, 2021
2.1.2 May 6, 2020
2.0.0 Apr 15, 2020
1.1.0 Dec 28, 2019
1.0.1 Nov 8, 2019

#365 in Debugging


Used in abspath

BSD-3-Clause

15KB
206 lines

MHlog

Travis CI build status Crates.io latest version Crates.io downloads GitHub license Gitpod Ready-to-Code

MHlog is a simple, thread-safe logging library.

See the documentation

Changelog

v3.0.1

  • Bail bugfix

v3.0.0

  • Update interface: err, warn, info, verbose, and debug.
  • Better stdout/stderr defaults.
  • Allow customization of message prefixes.

v2.1.2

  • Bugfix

v2.1.1

  • Update crate documentation.

v2.1.0

  • Log all messages to stderr by default. Can be disabled with feature log2stdout.
  • Add support for coloured log messages with coloured feature.

v2.0.0

  • Even simpler interface
  • Reduced interface to only err, warn, info, and log
  • No writing to file, only stdout (should pipe log output instead)

v1.1.0

  • Add support for verbose logging messages

v1.0.1

  • Added example

Dependencies

~8–260KB