mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
0b1a777d62
* 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>
15 lines
199 B
Go
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
|
|
}
|