6f4d847046
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
14 lines
189 B
Go
14 lines
189 B
Go
package main
|
|
|
|
import (
|
|
"github.com/Sirupsen/logrus"
|
|
"io"
|
|
)
|
|
|
|
func setLogLevel(lvl logrus.Level) {
|
|
logrus.SetLevel(lvl)
|
|
}
|
|
|
|
func initLogging(stderr io.Writer) {
|
|
logrus.SetOutput(stderr)
|
|
}
|