Death v2.0 Release Notes
Release Date: 2018-03-27 // about 6 years ago-
๐ This release encompasses a compatibility change for integrating with logrus. Logrus and seelog are incompatible loggers so we need a new major version in order to use one or the other.
๐ Specifically this
Logger
interface that seelog uses:type Logger interface { Error(v ...interface{}) errorDebug(v ...interface{}) Info(v ...interface{}) Warn(v ...interface{}) error}
is incompatible with the interface that logrus uses:
type Logger interface { Error(v ...interface{}) Debug(v ...interface{}) Info(v ...interface{}) Warn(v ...interface{}) }
As such we need to version death depending on the logger you are using.
๐ With this release you should be importing Death using gopkg.in with the version you want. See the Readme for more details on how to import the different versions.
๐ This also contains a quality of life fix for the builder pattern with
SetTimeout
andSetLogger
. Both of those functions will now return the death object so you can chain function calls.