mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
88083d1000
* Add journald option for logger Fixes #7353 * fix docker images * go mod tidy Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
14 lines
182 B
Go
14 lines
182 B
Go
// +build linux
|
|
|
|
package journald
|
|
|
|
import (
|
|
"github.com/wercker/journalhook"
|
|
)
|
|
|
|
//Enable enables the journald logrus hook
|
|
func Enable() error {
|
|
journalhook.Enable()
|
|
return nil
|
|
}
|