Skip to content

Releases: fortio/log

v1.18.3

10 Nov 21:37
981e609

Choose a tag to compare

What's Changed

Full Changelog: v1.18.2...v1.18.3

v1.18.2

10 Nov 04:54
6c6b01b

Choose a tag to compare

What's Changed

  • When stderr is redirected to a file, don't spam Ignoring SetDefaultsForClientTools() unless loglevel is verbose by @ldemailly in #79
  • New linter fixes and copilot instructions for fortio/log (by copilot)

Full Changelog: v1.18.1...v1.18.2

v1.18.1

04 Oct 04:10
2187d8e

Choose a tag to compare

What's Changed

  • goroutine: same code but tagged from master instead of a branch by @ldemailly in #78

Full Changelog: v1.18.0...v1.18.1

v1.18.0

04 Oct 03:20
5b8969d

Choose a tag to compare

What's Changed

  • Fix typo by @ldemailly in #75
  • When redirected, ignore cli defaults (so we get full json without needing to set LOGGER_IGNORE_CLI_MODE) and NO_COLOR support by @ldemailly in #76

Full Changelog: v1.17.2...v1.18.0

v1.17.2

06 Apr 22:38
c9c4853

Choose a tag to compare

What's Changed

  • Bump fortio.org/struct2env from 0.4.1 to 0.4.2 by @dependabot in #73

Full Changelog: v1.17.1...v1.17.2

v1.17.1

02 Oct 21:02
2874c14

Choose a tag to compare

What's Changed

  • http logging: panics occurring in a handler will get logged with -500 code; also return 500 to caller if response hasn't been started yet when the panic occurred. (#70)
  • Race in setting Config.Level by (#71)

Full Changelog: v1.16.0...v1.17.1

v1.17.0

02 Oct 18:47
e9a4588

Choose a tag to compare

v1.17.0 Pre-release
Pre-release

What's Changed

  • http logging: panics occurring in a handler will get logged with -500 code; also return 500 to caller if response hasn't been started yet when the panic occurred. (#70)

Full Changelog: v1.16.0...v1.17.0

v1.16.0

27 Jul 01:41
2fef4e4

Choose a tag to compare

What's Changed

  • Allow an additional LOGGER_IGNORE_CLI_MODE env var to be set to true to ignore future SetDefaultsForClientTools like done by fortio.org/cli by @ldemailly in #69

Full Changelog: v1.15.0...v1.16.0

v1.15.0

19 Jul 01:17
2dbeb36

Choose a tag to compare

Changes (#66)

  • Initial TinyGO support (with 2 PRs needing merge on tinygo side)

  • Fix for panic on invalid os.StdErr (which is the case for wasm browser side)

  • Switched to letting https://github.com/kortschak/goroutine deal with maintaining the coroutine ID code

Full Changelog: v1.14.0...v1.15.0

v1.14.0

01 Jul 21:59
4f63076

Choose a tag to compare

2 new buildtags (3 technically), available to produce smaller binaries if desired:

  • no_http (and no_net as an alias for upcoming use in fortio.org/cli's union with no_tls_fallback) will remove the http_logging functionality which unfortunately even if not used isn't suppressed by the go linter because of init/globals in net/http (saves about 1.1 Mbytes in binary size)
  • no_json skips the full json.Marshal mode and manually serialize to json (saves another 130 kbytes or so as of go 1.22.4)

Also a new log.Rune() for when log.Any("rune", r) printing the int value isn't what you want - .Rune() produces the unicode character

What's Changed

  • Build tags for smaller binaries that don't need net/http or encoding/json (#63)

Also

  • Dep updates
  • Fixed spelling (codespell) (#62)

Skipping 1.13, I am not superstitious but why risk it ;-)

Full Changelog: v1.12.2...v1.14.0