Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullLogger ¶ added in v0.2.11
type NullLogger struct{}
NullLogger is used to create a new JobLogger to discard logs. This will prevent these logs from being logged to the stdout, but forward them to the Reporter via its hook.
func (NullLogger) WithJobLogger ¶ added in v0.2.11
func (n NullLogger) WithJobLogger() *log.Logger
WithJobLogger creates a new logrus.Logger that will discard all logs.
Click to show internal directories.
Click to hide internal directories.