type go.uber.org/zap/zapcore.Entry
32 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L70: func (c consoleEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
core.go#L36: Check(Entry, *CheckedEntry) *CheckedEntry
core.go#L42: Write(Entry, []Field) error
core.go#L53: func (nopCore) Check(_ Entry, ce *CheckedEntry) *CheckedEntry { return ce }
core.go#L54: func (nopCore) Write(Entry, []Field) error { return nil }
core.go#L87: func (c *ioCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {
core.go#L94: func (c *ioCore) Write(ent Entry, fields []Field) error {
encoder.go#L450: EncodeEntry(Entry, []Field) (*buffer.Buffer, error)
entry.go#L143: type Entry struct {
entry.go#L211: Entry
entry.go#L219: ce.Entry = Entry{}
entry.go#L270: func (ce *CheckedEntry) AddCore(ent Entry, core Core) *CheckedEntry {
entry.go#L284: func (ce *CheckedEntry) Should(ent Entry, should CheckWriteAction) *CheckedEntry {
entry.go#L291: func (ce *CheckedEntry) After(ent Entry, hook CheckWriteHook) *CheckedEntry {
hook.go#L27: funcs []func(Entry) error
hook.go#L40: func RegisterHooks(core Core, hooks ...func(Entry) error) Core {
hook.go#L41: funcs := append([]func(Entry) error{}, hooks...)
hook.go#L52: func (h *hooked) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {
hook.go#L69: func (h *hooked) Write(ent Entry, _ []Field) error {
increase_level.go#L61: func (c *levelFilterCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {
increase_level.go#L69: func (c *levelFilterCore) Write(ent Entry, fields []Field) error {
json_encoder.go#L361: func (enc *jsonEncoder) EncodeEntry(ent Entry, fields []Field) (*buffer.Buffer, error) {
lazy_with.go#L51: func (d *lazyWithCore) Check(e Entry, ce *CheckedEntry) *CheckedEntry {
sampler.go#L107: func nopSamplingHook(Entry, SamplingDecision) {}
sampler.go#L121: func SamplerHook(hook func(entry Entry, dec SamplingDecision)) SamplerOption {
sampler.go#L174: hook func(Entry, SamplingDecision)
sampler.go#L214: func (s *sampler) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {
tee.go#L75: func (mc multiCore) Check(ent Entry, ce *CheckedEntry) *CheckedEntry {
tee.go#L82: func (mc multiCore) Write(ent Entry, fields []Field) error {
go.uber.org/zap
config.go#L42: Hook func(zapcore.Entry, zapcore.SamplingDecision) `json:"-" yaml:"-"`
logger.go#L336: ent := zapcore.Entry{
options.go#L55: func Hooks(hooks ...func(zapcore.Entry) error) 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. |