mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 09:14:28 +00:00
4b033f4cc7
* 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>
14 lines
184 B
Go
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
|
|
}
|