prysm-pulse/monitoring/journald/journald_linux.go
Preston Van Loon 4b033f4cc7
Update go to 1.19.3 (#11630)
* Update go to 1.19.3

* Update other items to 1.19

* Update golangci-lint to latest release

* Run gofmt -s with go1.19

* Huge gofmt changes

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-11-18 19:12:19 +00:00

14 lines
184 B
Go

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