All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
1.7.0 - 2023-02-01
- Improve performance of map iteration using reflect.MapIter in #34
- Use buffered channel for signal.Notify in #37
- Fix for deprecated "io/ioutil" in #39
- Remove "Requirements" section from README in #41
- Please use the latest Go.
- Fix JSONFormat to ensure outputting JSON on NaN and Infinities in #29
- Fix JSONFormat to output valid JSON strings in #33
1.6.1 - 2021-12-14
- Remove dependency on github.com/pkg/errors (#28).
1.6.0 - 2020-03-19
- Validate string with strings.ToValidUTF8 (#26).
1.5.0 - 2018-09-14
- Opting in to Go modules.
1.4.2 - 2017-09-07
- Fix a bug in
Logger.Writer
(#16).
1.4.1 - 2017-05-08
- Call error handler in
Logger.WriteThrough
(#13).
1.4.0 - 2017-04-28
Logger.SetErrorHandler
to change error handler function.
- Logger has a default error handler that exits with status 5 on EPIPE (#11).
1.3.0 - 2016-09-10
- Fix Windows support by @mattn.
- Fix data races in tests.
- Formatters now have an optional
Utsname
field.
1.2.0 - 2016-08-26
Logger.WriteThrough
to write arbitrary bytes to the underlying writer.
1.1.2 - 2016-08-25
- These interfaces are formatted nicer in logs.
1.1.1 - 2016-08-24
FnError
field name constant for error strings.- [SPEC] add "exec" and "http" log types.
- Invalid UTF-8 string no longer results in an error.
1.1.0 - 2016-08-22
Logger.Writer
: fixed a minor bug.- "id" log field is renamed to "request_id" (API is not changed).
1.0.1 - 2016-08-20
- Logger.Writer is rewritten for better performance.