Skip to content

Commit

Permalink
added options arg to package function
Browse files Browse the repository at this point in the history
  • Loading branch information
ansel1 committed Sep 26, 2019
1 parent 3b13c93 commit d779f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func New(name string) Logger {
}

// NewCore returns a new Core
func NewCore(name string) *Core {
return pkgFactory.NewCore(name)
func NewCore(name string, options ...CoreOption) *Core {
return pkgFactory.NewCore(name, options...)
}

// ConfigString configures the package level Factory. The
Expand Down

0 comments on commit d779f12

Please sign in to comment.