Skip to content

Releases: fortio/log

v1.16.0

27 Jul 01:41
2fef4e4
Compare
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
Compare
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
Compare
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

v1.12.2

03 Apr 19:00
c4c7d64
Compare
Choose a tag to compare

What's Changed

  • Handle errors printing like slog json marshaller, ie use .Error() unless there is an explicit marshaller, that will avoid missing details for net read errors for instance and is a better fix than the original for #52 by @ldemailly in #60

Full Changelog: v1.12.1...v1.12.2

v1.12.1

22 Mar 18:16
92bd010
Compare
Choose a tag to compare

What's Changed

Mostly CI change and minor linter induced code improvement

Full Changelog: v1.12.0...v1.12.1

v1.12.0

22 Nov 04:22
0e5e8b4
Compare
Choose a tag to compare

What's Changed

  • Recursive json serialization for structured attributes (log.Any) by @ldemailly in #50
  • Http response recording/logging LogAndCall recording duration size and status + Environment variables based config by @ldemailly in #53

Full Changelog: v1.11.0...v1.12.0

v1.11.0

18 Aug 03:49
1ea5181
Compare
Choose a tag to compare

What's Changed

  • use json unquoted number/bool types, supported nested arrays and maps, improving perf/benchmarks by @ldemailly in #46

Full Changelog: v1.10.0...v1.11.0

v1.10.0

04 Aug 00:53
31afb57
Compare
Choose a tag to compare

What's Changed

  • Add std logging compatibility and interception options (#44)

To enable fixing fortio/fortio#802

Full Changelog: v1.9.3...v1.10.0

v1.9.3

03 Aug 00:51
d41a448
Compare
Choose a tag to compare

What's Changed

  • Changing color output again use [DBG] etc for levels instead of Debg>, use rN for go Routine id instead of [N] (#43)

Full Changelog: v1.9.2...v1.9.3

v1.9.2

02 Aug 20:33
1095950
Compare
Choose a tag to compare

What's Changed

  • Have a prefix even for tools to avoid the I for Info next to a verb looking off (#42)

color

Full Changelog: v1.9.1...v1.9.2