Skip to content

Releases: nerves-project/ring_logger

v0.6.0

22 Oct 19:40
Compare
Choose a tag to compare

Important: RingLogger.tail is now RingLogger.next. RingLogger.tail shows
the last n lines of the log (default is 10).

  • New features
    • grep greps the whole log entry rather than just the message portion. You
      can grep on timestamps and message levels now.
    • Functions that print log messages do the printing in the caller's context so
      that printing timeouts don't happen in RingLogger GenServers calls.
    • Added :none as a per-module log level to completely silence a module.
    • Added :pager option to specify a custom printer for the interactive
      commands.

v0.5.0

19 Sep 01:06
Compare
Choose a tag to compare
  • New features

    • Add support for changing the log levels on a per-module basis. Thanks to
      Matt Ludwigs for this change. See the README.md for details.
    • Add a :format option to accept a custom format function similar to how
      Logger supports custom formatting. Thanks to Tim Mecklem for this.
    • Bumped default ring buffer size from 100 messages to 1024.
  • Bug fixes

    • Log clients are now fully configurable. Previous versions inadvertently
      limited the options that could be set.

v0.4.1

17 Apr 08:49
Compare
Choose a tag to compare
  • Bug fixes
    • Fix crash when grep'ing iodata
    • Fix init/1 callback return value when only specifying the module.

v0.4.0

20 Feb 14:07
Compare
Choose a tag to compare
  • New features
    • Added grep
    • Automatically add the backend if it's not running when using the IEx helpers

v0.3.0

16 Feb 19:48
Compare
Choose a tag to compare

Renamed LoggerCircularBuffer to RingLogger and made backwards incompatible
API changes. Please review docs when upgrading.

New features:

  • Simplified use from IEx by autostarting the Client GenServer
  • Added support for tailing logs