@abhinav abhinav released this Aug 6, 2018 · 1 commit to master since this release

Assets 2

Bugfixes:

  • #614: MapObjectEncoder should not ignore empty slices.

@akshayjshah akshayjshah released this Jul 19, 2018 · 4 commits to master since this release

Assets 2

Enhancements:

  • #602: Reduce number of allocations when logging with reflection.
  • #572, #606: Expose a registry for third-party logging sinks.

Thanks to @nfarah86, @AlekSi, @JeanMertz, @philippgille, @etsangsplk, and
@dimroc for their contributions to this release.

@akshayjshah akshayjshah released this Apr 13, 2018 · 14 commits to master since this release

Assets 2

Enhancements:

  • #508: Make log level configurable when redirecting the standard library's logger.
  • #518: Add a logger that writes to a *testing.TB.
  • #577: Add a top-level alias for zapcore.Field to clean up GoDoc.

Bugfixes:

  • #574: Add a missing import comment to go.uber.org/zap/buffer.

Thanks to @DiSiqueira and @djui for their contributions to this release.

@prashantv prashantv released this Sep 25, 2017 · 51 commits to master since this release

Assets 2

Bugfixes:

  • #504: Store strings when using AddByteString with the map encoder.

@akshayjshah akshayjshah released this Sep 21, 2017 · 52 commits to master since this release

Assets 2

Enhancements:

  • #439: Add NewStdLogAt, which extends NewStdLog by allowing the user to specify the level of the logged messages.

Thanks to @delicb for contributing to this release.

@akshayjshah akshayjshah released this Aug 31, 2017 · 54 commits to master since this release

Assets 2

Enhancements:

  • #491: Omit zap stack frames from stacktraces.
  • #490: Add a ContextMap method to observer logs for simpler field validation in tests.

@akshayjshah akshayjshah released this Jul 23, 2017 · 62 commits to master since this release

Assets 2

Enhancements:

  • #460 and #470: Support errors produced by go.uber.org/multierr.
  • #465: Support user-supplied encoders for logger names.

Bugfixes:

  • #477: Fix a bug that incorrectly truncated deep stacktraces.

Thanks to @richard-tunein and @pavius for their contributions to this release.

@akshayjshah akshayjshah released this Jun 8, 2017 · 81 commits to master since this release

Assets 2

This release fixes two bugs.

Bugfixes:

  • #435: Support a variety of case conventions when unmarshaling levels.
  • #444: Fix a panic in the observer.

@akshayjshah akshayjshah released this May 12, 2017 · 84 commits to master since this release

Assets 2

This release adds a few small features and is fully backward-compatible.

Enhancements:

  • #424: Add a LineEnding field to EncoderConfig, allowing users to override the Unix-style default.
  • #425: Preserve time zones when logging times.
  • #431: Make zap.AtomicLevel implement fmt.Stringer, which makes a variety of operations a bit simpler.

@akshayjshah akshayjshah released this Apr 25, 2017 · 89 commits to master since this release

Assets 2

This release adds an enhancement to zap's testing helpers as well as the ability to marshal an AtomicLevel. It is fully backward-compatible.

Enhancements:

  • #415: Add a substring-filtering helper to zap's observer. This is particularly useful when testing the SugaredLogger.
  • #416: Make AtomicLevel implement encoding.TextMarshaler.