Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONFormatter ¶
func PlainFormatter ¶
Types ¶
type FormatFunc ¶
type StringWriter ¶
type StringWriter struct {
// contains filtered or unexported fields
}
func New ¶
func New(wr io.Writer, formatter FormatFunc) *StringWriter
func (*StringWriter) Write ¶
func (w *StringWriter) Write(message interface{})
Click to show internal directories.
Click to hide internal directories.