Skip to content

Releases: hashicorp/go-hclog

Optional JSON escaping

01 Apr 21:40
d12136a
Compare
Choose a tag to compare

What's Changed

  • hclogvet: updates for go1.22 by @shoenig in #138
  • support configure json escape when log in json format by @Ericwww in #141

New Contributors

Full Changelog: v1.6.2...v1.6.3

Fix level syncing

13 Dec 00:40
3600f4a
Compare
Choose a tag to compare

What's Changed

  • Conside if the level is to be used separately from if the levels should be calculated by @evanphx in #137

Full Changelog: v1.6.1...v1.6.2

Fix forcing color

04 Dec 19:42
71d286f
Compare
Choose a tag to compare

What's Changed

  • Fix colors not being forced on correctly. by @evanphx in #136

Full Changelog: v1.6.0...v1.6.1

New level inheritance mode

04 Dec 17:55
852f2c3
Compare
Choose a tag to compare

This release adds the ability to have sub-loggers arrange themselves into a tree and sync the level changes downward in the tree.

What's Changed

  • SEC-090: Automated trusted workflow pinning (2023-04-03) by @hashicorp-tsccr in #128
  • Docs: InferLevelsWithTimestamp relies on InferLevels being true by @peteski22 in #135
  • Implement the ability to more logically share level hierarchies by @evanphx in #134

New Contributors

  • @hashicorp-tsccr made their first contribution in #128
  • @peteski22 made their first contribution in #135

Full Changelog: v1.5.0...v1.6.0

Better color and sublogger mods

20 Mar 20:30
3472151
Compare
Choose a tag to compare

What's Changed

  • Update LICENSE by @CalebAlbers in #121
  • build: update to go1.20 and x/tools to 0.5.0 by @shoenig in #125
  • Improve AutoColor functionality by @evanphx in #123
  • Add ability to wrap new subloggers by @evanphx in #126
  • [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #124

New Contributors

  • @CalebAlbers made their first contribution in #121
  • @hashicorp-copywrite made their first contribution in #124

Full Changelog: v1.4.0...v1.5.0

Add GetLevel

06 Dec 21:26
8b7499a
Compare
Choose a tag to compare

What it says on the tin, add GetLevel to the Logger interface.

What's Changed

Full Changelog: v1.3.1...v1.4.0

Improved multi line output rendering

21 Sep 03:35
0d6179f
Compare
Choose a tag to compare

What's Changed

  • When rendering multiple line output, still quote the individual lines by @evanphx in #119

Full Changelog: v1.3.0...v1.3.1

Field Colorization

29 Aug 19:47
9846b38
Compare
Choose a tag to compare

This version adds the ability to colorize fields for improved readability.

What's Changed

New Contributors

Full Changelog: v1.2.2...v1.3.0

Minor formatting fix

25 Jul 16:27
2a06ec9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.2.2

testify/go.yaml fix

06 Jun 16:39
fb7b65b
Compare
Choose a tag to compare

This bumps the version of testify and go.yaml that are referenced by go-hclog to fix a security issue in go.yaml.