We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DefaultFactory
LoggerFactory
1 parent aca7d35 commit 387d119Copy full SHA for 387d119
CHANGELOG.md
@@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
### Security
24
- Nothing
25
26
+## [1.5.1] - 2019-07-30
27
+### Changed
28
+- Make `DefaultFactory` of type `LoggerFactory` so it accepts other implementations
29
+
30
## [1.5.0] - 2019-07-30
31
### Added
32
- `LoggerFactory` interface abstracting `Factory` struct
factory.go
@@ -5,7 +5,7 @@ import (
5
)
6
7
// DefaultFactory is the factory used to create new loggers
8
-var DefaultFactory Factory = NewFactory()
+var DefaultFactory LoggerFactory = NewFactory()
9
10
// LoggerFactory creates Logger instances
11
type LoggerFactory interface {
0 commit comments