Releases: fortio/log
v1.18.3
v1.18.2
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
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
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
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
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
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_netas 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_jsonskips 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