Documentation ¶
Index ¶
- type Core
- func (core *Core) Check(entry zapcore.Entry, checked *zapcore.CheckedEntry) *zapcore.CheckedEntry
- func (core *Core) Sync() error
- func (core *Core) With(fields []zapcore.Field) zapcore.Core
- func (core *Core) WithJetStream(stream string) (c *Core, err error)
- func (core *Core) WithSubject(subject string) *Core
- func (core *Core) Write(entry zapcore.Entry, fields []zapcore.Field) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { zapcore.LevelEnabler // contains filtered or unexported fields }
func NewCore ¶
func NewCore(enabler zapcore.LevelEnabler, encoder zapcore.Encoder, con *nats.Conn) *Core
func (*Core) Check ¶
func (core *Core) Check(entry zapcore.Entry, checked *zapcore.CheckedEntry) *zapcore.CheckedEntry
func (*Core) WithSubject ¶
Click to show internal directories.
Click to hide internal directories.