mirror of https://github.com/sirupsen/logrus.git
commit to trigger appveyor build
This commit is contained in:
parent
8b120431f3
commit
4bcb47b846
|
@ -9,6 +9,7 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
// An example on how to use a hook
|
||||
func Example_hook() {
|
||||
var log = logrus.New()
|
||||
log.Formatter = new(logrus.TextFormatter) // default
|
||||
|
|
Loading…
Reference in New Issue