Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FollowLog ¶ added in v1.40.0
FollowLog attempts to follow the logs from systemd-journald. It passes 3 additional flags to journalctl:
-f --follow Follow the journal --no-pager Do not pipe output into a pager --no-tail Show all lines, even in follow mode
Types ¶
type Logger ¶ added in v1.4.0
type Logger interface { Debug(v ...interface{}) Debugf(format string, a ...interface{}) Info(v ...interface{}) Infof(format string, a ...interface{}) Warning(v ...interface{}) Warningf(format string, a ...interface{}) Error(v ...interface{}) Errorf(format string, a ...interface{}) }
func NewConsoleLogger ¶ added in v1.4.5
Source Files ¶
Click to show internal directories.
Click to hide internal directories.