Skip to content

Commit

Permalink
expose the StdLogger interface so that it's visible via godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vrischmann committed Nov 22, 2016
1 parent e8ddc4f commit 9a96eb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"log"
)

type stdLogger interface {
type StdLogger interface {
Print(v ...interface{})
Printf(format string, v ...interface{})
Println(v ...interface{})
}

var Logger stdLogger = log.New(ioutil.Discard, "", log.LstdFlags)
var Logger StdLogger = log.New(ioutil.Discard, "", log.LstdFlags)

0 comments on commit 9a96eb7

Please sign in to comment.