Documentation ¶
Overview ¶
Package logging provides functions to create various logr.Logger implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStdLogger ¶
CreateStdLogger creates a logr.Logger using Go's standard log package
Types ¶
type SyncLogger ¶
SyncLogger contains a logger and an associated sync function that should be called using `defer`.
func CreateZapLogger ¶
func CreateZapLogger(name string) (*SyncLogger, error)
CreateZapLogger for structured logging
Click to show internal directories.
Click to hide internal directories.