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"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// An example on how to use a hook
|
||||||
func Example_hook() {
|
func Example_hook() {
|
||||||
var log = logrus.New()
|
var log = logrus.New()
|
||||||
log.Formatter = new(logrus.TextFormatter) // default
|
log.Formatter = new(logrus.TextFormatter) // default
|
||||||
|
|
Loading…
Reference in New Issue