Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonFormatter ¶ added in v1.3.0
type JsonFormatter struct { }
func NewJsonFormatter ¶ added in v1.3.0
func NewJsonFormatter() *JsonFormatter
func (*JsonFormatter) Format ¶ added in v1.3.0
func (f *JsonFormatter) Format(r record.Record) string
func (*JsonFormatter) FormatBatch ¶ added in v1.3.0
func (f *JsonFormatter) FormatBatch(rs []record.Record) string
type LineFormatter ¶
type LineFormatter struct { }
func NewLineFormatter ¶
func NewLineFormatter() *LineFormatter
func (*LineFormatter) FormatBatch ¶
func (f *LineFormatter) FormatBatch(rs []record.Record) string
Click to show internal directories.
Click to hide internal directories.