Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNopSync ¶ added in v0.24.0
func AddNopSync(writer io.Writer) zapcore.WriteSyncer
AddNoSync adds a NOP Sync implementation.
func NewJSONLogger ¶
func NewJSONLogger(v config.VerbosityLevel, infoStream, errorStream zapcore.WriteSyncer, encoderConfig *zapcore.EncoderConfig) (logr.Logger, func())
NewJSONLogger creates a new json logr.Logger and its associated flush function. The separate error stream is optional and may be nil. The encoder config is also optional.
Types ¶
Click to show internal directories.
Click to hide internal directories.