Skip to content

Commit 7fd8418

Browse files
committed
Merge pull request #1 from agonzalezro/logrus
Use logrus for logging, instead a mix of loggers
2 parents 7061bff + 9aa86a9 commit 7fd8418

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

main.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
package main
22

33
import (
4-
"log"
54
"os"
65

7-
"github.com/Sirupsen/logrus"
6+
log "github.com/Sirupsen/logrus"
87
)
98

109
func init() {
11-
logrus.SetLevel(logrus.DebugLevel)
10+
log.SetLevel(log.DebugLevel)
1211
}
1312

1413
func main() {

0 commit comments

Comments
 (0)