package
Version:
v0.5.1
Opens a new window with list of versions in this module.
Published: Jul 4, 2017
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Buffer wraps zaptest.Buffer and provides convenience method JSONLine(n)
NewLogger creates a new zap.Logger backed by a zaptest.Buffer, which is also returned.
JSONLine reads n-th line from the buffer and converts it to JSON.
Lines overwrites zaptest.Buffer.Lines() to make it thread safe
Stripped overwrites zaptest.Buffer.Stripped() to make it thread safe
Write overwrites zaptest.Buffer.bytes.Buffer.Write() to make it thread safe
Source Files
¶
Click to show internal directories.
Click to hide internal directories.