prysm-pulse/monitoring/journald/journald_linux.go
kasey 0b1a777d62
ran gofmt @ v1.17, these are the resulting changes (#10362)
* ran gofmt @ v1.17, these are the resulting changes

* fix some flaky tests that are tripping up this PR

* gofmt

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-03-14 15:58:13 -05:00

15 lines
199 B
Go

//go:build linux
// +build linux
package journald
import (
"github.com/wercker/journalhook"
)
//Enable enables the journald logrus hook
func Enable() error {
journalhook.Enable()
return nil
}