mirror of https://github.com/sirupsen/logrus.git
Go fmt alt exit addition
This commit is contained in:
parent
a7755c5c03
commit
ff52e76f67
|
@ -57,4 +57,3 @@ os.Exit(code)
|
||||||
func RegisterExitHandler(handler func()) {
|
func RegisterExitHandler(handler func()) {
|
||||||
handlers = append(handlers, handler)
|
handlers = append(handlers, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package logrus
|
package logrus
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"io/ioutil"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"testing"
|
"testing"
|
||||||
"io/ioutil"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -72,4 +72,3 @@ func main() {
|
||||||
logrus.Fatal("Bye bye")
|
logrus.Fatal("Bye bye")
|
||||||
}
|
}
|
||||||
`)
|
`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue