Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = NilLog
Log is the central logger for this program.
View Source
var NilLog = zapr2.NewLogger(zap.New(zapcore.NewNopCore()))
NilLog is a no-op logger.
Functions ¶
func CreateOperatorAwareLogger ¶ added in v0.0.4
CreateOperatorAwareLogger will set logging format to JSON when ran as operator or plain text when used as CLI.
func CreateOperatorAwareLoggerWithLevel ¶ added in v0.0.9
CreateOperatorAwareLoggerWithLevel will set logging format to JSON when ran as operator or plain text when used as CLI.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.