Skip to content

Commit

Permalink
log: add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bailantaotao committed Nov 12, 2017
1 parent ca06f81 commit 1f4ccf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func init() {
)
}

// New returns a new logger with the given context.
func New(ctx ...interface{}) log15.Logger {
return defaultLogger.New(ctx...)
}

0 comments on commit 1f4ccf7

Please sign in to comment.