buffer

package
v0.0.0-...-274ab79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Buffer

type Buffer struct {
	Name string

	Level zapcore.Level
	// contains filtered or unexported fields
}

func (*Buffer) Check

func (*Buffer) Enabled

func (t *Buffer) Enabled(zapcore.Level) bool

func (*Buffer) Sync

func (t *Buffer) Sync() error

func (*Buffer) With

func (t *Buffer) With([]zapcore.Field) zapcore.Core

func (*Buffer) Write

func (t *Buffer) Write(ent zapcore.Entry, _ []zapcore.Field) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL