type go.uber.org/zap/zapcore.Core
45 uses
go.uber.org/zap/zapcore (current package)
core.go#L25: type Core interface {
core.go#L29: With([]Field) Core
core.go#L50: func NewNopCore() Core { return nopCore{} }
core.go#L52: func (n nopCore) With([]Field) Core { return n }
core.go#L58: func NewCore(enc Encoder, ws WriteSyncer, enab LevelEnabler) Core {
core.go#L73: _ Core = (*ioCore)(nil)
core.go#L81: func (c *ioCore) With(fields []Field) Core {
entry.go#L38: cores: make([]Core, 4),
entry.go#L215: cores []Core
entry.go#L270: func (ce *CheckedEntry) AddCore(ent Entry, core Core) *CheckedEntry {
hook.go#L26: Core
hook.go#L31: _ Core = (*hooked)(nil)
hook.go#L40: func RegisterHooks(core Core, hooks ...func(Entry) error) Core {
hook.go#L62: func (h *hooked) With(fields []Field) Core {
increase_level.go#L26: core Core
increase_level.go#L31: _ Core = (*levelFilterCore)(nil)
increase_level.go#L39: func NewIncreaseLevelCore(core Core, level LevelEnabler) (Core, error) {
increase_level.go#L57: func (c *levelFilterCore) With(fields []Field) Core {
lazy_with.go#L26: Core
lazy_with.go#L33: func NewLazyWith(core Core, fields []Field) Core {
lazy_with.go#L46: func (d *lazyWithCore) With(fields []Field) Core {
sampler.go#L152: func NewSamplerWithOptions(core Core, tick time.Duration, first, thereafter int, opts ...SamplerOption) Core {
sampler.go#L169: Core
sampler.go#L178: _ Core = (*sampler)(nil)
sampler.go#L195: func NewSampler(core Core, tick time.Duration, first, thereafter int) Core {
sampler.go#L203: func (s *sampler) With(fields []Field) Core {
tee.go#L25: type multiCore []Core
tee.go#L29: _ Core = multiCore(nil)
tee.go#L37: func NewTee(cores ...Core) Core {
tee.go#L48: func (mc multiCore) With(fields []Field) Core {
go.uber.org/zap
config.go#L284: opts = append(opts, WrapCore(func(core zapcore.Core) zapcore.Core {
logger.go#L42: core zapcore.Core
logger.go#L68: func New(core zapcore.Core, options ...Option) *Logger {
logger.go#L205: return log.WithOptions(WrapCore(func(core zapcore.Core) zapcore.Core {
logger.go#L306: func (log *Logger) Core() zapcore.Core {
options.go#L42: func WrapCore(f func(zapcore.Core) zapcore.Core) Option {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |