github.com/prysmaticlabs/prysm@v1.4.4/shared/journald/journald_linux.go (about)

     1  // +build linux
     2  
     3  package journald
     4  
     5  import (
     6  	"github.com/wercker/journalhook"
     7  )
     8  
     9  //Enable enables the journald  logrus hook
    10  func Enable() error {
    11  	journalhook.Enable()
    12  	return nil
    13  }