Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadWriter ¶
type ReadWriter struct {
// contains filtered or unexported fields
}
ReadWriter is a fake adapter with sync read method Use for test purpose
func NewAdapter ¶
func NewAdapter(l ...level.LogLevel) *ReadWriter
NewAdapter create a fake adapter with sync read method
func (*ReadWriter) Level ¶
func (w *ReadWriter) Level() level.LogLevel
func (*ReadWriter) Read ¶
func (w *ReadWriter) Read() []byte
Click to show internal directories.
Click to hide internal directories.