Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
Buffer wraps zaptest.Buffer and provides convenience method JSONLine(n)
func NewLogger ¶
NewLogger creates a new zap.Logger backed by a zaptest.Buffer, which is also returned.
func (*Buffer) String ¶ added in v1.1.0
String overwrites zaptest.Buffer.String() to make it thread safe
Click to show internal directories.
Click to hide internal directories.