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

type Core

type nopCore

// NewNopCore returns a no-op Core.
func NewNopCore() Core                                        {}

func (nopCore) Enabled(Level) bool                            {}

func (n nopCore) With([]Field) Core                           {}

func (nopCore) Check(_ Entry, ce *CheckedEntry) *CheckedEntry {}

func (nopCore) Write(Entry, []Field) error                    {}

func (nopCore) Sync() error                                   {}

// NewCore creates a Core that writes logs to a WriteSyncer.
func NewCore(enc Encoder, ws WriteSyncer, enab LevelEnabler) Core {}

type ioCore

var _

var _

func (c *ioCore) Level() Level {}

func (c *ioCore) With(fields []Field) Core {}

func (c *ioCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {}

func (c *ioCore) Write(ent Entry, fields []Field) error {}

func (c *ioCore) Sync() error {}

func (c *ioCore) clone() *ioCore {}