kubernetes/vendor/go.uber.org/zap/zapcore/hook.go

type hooked

var _

var _

// RegisterHooks wraps a Core and runs a collection of user-defined callback
// hooks each time a message is logged. Execution of the callbacks is blocking.
//
// This offers users an easy way to register simple callbacks (e.g., metrics
// collection) without implementing the full Core interface.
func RegisterHooks(core Core, hooks ...func(Entry) error) Core {}

func (h *hooked) Level() Level {}

func (h *hooked) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {}

func (h *hooked) With(fields []Field) Core {}

func (h *hooked) Write(ent Entry, _ []Field) error {}