Update CHANGELOG.md
This commit is contained in:
parent
572fff1be4
commit
a6a981948d
1 changed files with 15 additions and 6 deletions
21
CHANGELOG.md
21
CHANGELOG.md
|
@ -2,10 +2,19 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
- Uncompatible: log level names hace changed. They were fully
|
## v0.3.0 (2020-05-17)
|
||||||
capitalized, only their first letter is capitalized now: DEBUG -> Debug,
|
|
||||||
INFO -> Info, etc.
|
### Incompatible Changes
|
||||||
- Uncompatible NoopBackend.Level() now returns DefaultLevel instead of Fatal
|
|
||||||
- Fix: creates new logger with level DefaultLevel instead of Debug
|
- Log level names have changed. They were fully capitalized, only their first
|
||||||
- Fix: FileBackend now properly closes the file befor reopening it (fixes a
|
letter is capitalized now: DEBUG -> Debug, INFO -> Info, etc.
|
||||||
|
- NoopBackend.Level() now returns DefaultLevel instead of Fatal
|
||||||
|
- New loggers are created with level `DefaultLevel` instead of `Debug`
|
||||||
|
- The `Backend` interface now has a `Close()` method, so that backends can free
|
||||||
|
the resources they use
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- FileBackend now properly closes the file before reopening it (fixes a
|
||||||
potential file descriptor leak)
|
potential file descriptor leak)
|
||||||
|
- Logger methods did not always acquire locks, causing race conditions
|
||||||
|
|
Loading…
Reference in a new issue