Releases: fortio/log
v1.17.1
v1.17.0
v1.16.0
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
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
2 new buildtags (3 technically), available to produce smaller binaries if desired:
no_http
(andno_net
as an alias for upcoming use infortio.org/cli
's union withno_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
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
What's Changed
Mostly CI change and minor linter induced code improvement
- Fix linter issues by @ldemailly in #57
- Switch to shared workflows and linter fixes by @ldemailly in #59
Full Changelog: v1.12.0...v1.12.1
v1.12.0
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
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
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