Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuffCore ¶
Types ¶
type Buffer ¶
Buffer is an implementation of zapcore.WriteSyncer that sends all writes to a bytes.Buffer. It has convenience methods to split the accumulated buffer on newlines.
type FailWriter ¶
type FailWriter struct{ Syncer }
FailWriter is a WriteSyncer that always returns an error on writes.
type ShortWriter ¶
type ShortWriter struct{ Syncer }
ShortWriter is a WriteSyncer whose write method never fails, but nevertheless fails to the last byte of the input.
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
A Syncer is a spy for the Sync portion of zapcore.WriteSyncer.
Click to show internal directories.
Click to hide internal directories.