This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Releases: dogmatiq/dodeca
Releases 路 dogmatiq/dodeca
Version 1.4.2
Changed
- Improved the mechanism used by to
Zap()
detect whether debug-level logging is enabled
Version 1.4.1
This release simply removes the package-level deprecation notices, as they are caught by aggressive linter configurations. The deprecation notice in go.mod
has been retained. We will re-add these deprecation notices when we are closer to ceasing support for this module altogether.
Version 1.4.0
The Dodeca project is deprecated as of this version.
- All Dogmatiq projects that use the Dodeca
logging
package are transitioning to usego.uber.org/zap
instead.- The Dodeca
config
package has been superceded bydogmatiq/ferrite
.This repository will be archived once it is no longer used by other Dogmatiq projects.
Added
- Add
logging.Zap()
to adapt an Uber Zap logger to alogging.Logger
Version 1.3.1
Fixed
logging.StreamWriter
now correctly handles Windows newlines (CRLF)logging.StreamWriter
now treats a single CR character as a newline
Version 1.3.0
Added
- Add
logging.Tee()
, which returns a logger that dispatches all messages to multiple other loggers
Version 1.2.0
Added
- Add
config.NotDefined
,InvalidValue
andInvalidDefaultValue
errors
Changed
- Use new
config
error types as panic values instead of arbitrary strings
Version 1.1.0
Added
- Add
config.AsURL()
andAsURLDefault()
Version 1.0.0
This is the first stable release. There have been no changes to the API since the 1.0.0-rc.1
release.
Version 1.0.0-rc.1
Added
- Add
StreamWriter
, which logs each line of text in a stream as a log message - Add
LineWriter
, which logs each call toWrite()
as a log message
Removed
- [BC] Remove
NewWriter()
, use aStreamWriter
instead - [BC] Remove
NewDebugWriter()
, use aStreamWriter
withDemote()
instead
Version 1.0.0-rc.0
Added
- Add
Map
, an in-memory implementation ofBucket
- Add
As[Type]()
andAs[Type]Default()
convenience functions