Skip to content

Releases: sirupsen/logrus

Release v1.6.0

02 May 13:07
Compare
Choose a tag to compare

Release v1.6.0

v1.5.0

23 Mar 13:10
d417be0
Compare
Choose a tag to compare

This new release introduces:

  • Ability to DisableHTMLEscape when using the JSON formatter: #524
  • Support/fixes for go 1.14
  • Many many bugfixes

v1.4.2

18 May 10:41
Compare
Choose a tag to compare
Release 1.4.2

v1.4.1

02 Apr 16:15
Compare
Choose a tag to compare

This new release introduces:

  • Enhance TextFormatter to not print caller information when they are empty (#944)
  • Remove dependency on golang.org/x/crypto (#932, #943)

Fixes:

  • Fix Entry.WithContext method to return a copy of the initial entry (#941)

v1.4.0

11 Mar 16:22
dae0fa8
Compare
Choose a tag to compare

This new release introduces:

  • Add DeferExitHandler, similar to RegisterExitHandler but prepending the handler to the list of handlers (semantically like defer) (#848).
  • Add CallerPrettyfier to JSONFormatter and `TextFormatter (#909, #911)
  • Add Entry.WithContext() and Entry.Context, to set a context on entries to be used e.g. in hooks (#919).

Fixes:

  • Fix wrong method calls Logger.Print and Logger.Warningln (#893).
  • Update Entry.Logf to not do string formatting unless the log level is enabled (#903)
  • Fix infinite recursion on unknown Level.String() (#907)
  • Fix race condition in getCaller (#916).

v1.3.0

05 Jan 01:45
e1e72e9
Compare
Choose a tag to compare

This new release introduces:

  • Log, Logf, Logln functions for Logger and Entry that take a Level

Fixes:

  • Building prometheus node_exporter on AIX (#840)
  • Race condition in TextFormatter (#468)
  • Travis CI import path (#868)
  • Remove coloured output on Windows (#862)
  • Pointer to func as field in JSONFormatter (#870)
  • Properly marshal Levels (#873)

v1.2.0

01 Nov 07:48
Compare
Choose a tag to compare
This new release introduces:
  * A new method SetReportCaller in the Logger to enable the file, line and calling function from which the trace has been issued
  * A new trace level named Trace whose level is below Debug
  * A configurable exit function to be called upon a Fatal trace
  * The Level object now implements encoding.TextUnmarshaler interface

v1.1.1

08 Oct 20:32
Compare
Choose a tag to compare
Update changelog for v1.1.1 release

v1.0.6

21 Jul 07:25
Compare
Choose a tag to compare

This new release introduces:

  • a new api WithTime which allows to easily force the time of the log entry which is mostly useful for logger wrapper
  • a fix reverting the immutability of the entry given as parameter to the hooks
  • a new configuration field of the json formatter in order to put all the fields in a nested dictionnary
  • a new SetOutput method in the Logger
  • a new configuration of the textformatter to configure the name of the default keys
  • a new configuration of the text formatter to disable the level truncation