This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Releases: dogmatiq/dodeca
Releases 路 dogmatiq/dodeca
Version 0.2.2
Added
- Add
Prefix()
, which returns a logger that prepends a static prefix to all messages - Add
Promote()
, which returns a logger that promotes all messages to non-debug level - Add
Demote()
, which returns a logger that demotes all messages to debug level - Add
Wrapper
andUnwrap()
for inspecting loggers that wrap other loggers
Version 0.2.1
Fixed
NewWriter()
andNewDebugWriter()
now split log lines correctly
Version 0.2.0
Added
- Add
Value.Bytes()
Changed
- [BC] Rename
Value.IsEmpty()
toIsZero()
to better distinguish between unpopulated values and empty content - [BC]
Value.AsString()
andAsBytes()
now return an error if theValue
is the zero-value - [BC]
Value.String()
now panics if theValue
is the zero-value
Version 0.1.2
Added
- Add
CallbackLogger
(thanks @neetle)
Version 0.1.1
- Add
NewWriter()
andNewDebugWriter()
Version 0.1.0
- Initial release