Signed-off-by: Antonio Murdaca <me@runcom.ninja> Upstream-commit: 6f4d847046cb4e072de61d042c0266190d73a8c9 Component: engine
15 lines
189 B
Go
15 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)
|
|
}
|