thinkgo: github.com/thinkoner/thinkgo/log/formatter Index | Files

package formatter

import "github.com/thinkoner/thinkgo/log/formatter"

Index

Package Files

formatter.go line_formatter.go

type Formatter Uses

type Formatter interface {
    Format(r record.Record) string
    FormatBatch(rs []record.Record) string
}

type LineFormatter Uses

type LineFormatter struct {
}

func NewLineFormatter Uses

func NewLineFormatter() *LineFormatter

func (*LineFormatter) Format Uses

func (f *LineFormatter) Format(r record.Record) string

func (*LineFormatter) FormatBatch Uses

func (f *LineFormatter) FormatBatch(rs []record.Record) string

Package formatter imports 1 packages (graph) and is imported by 1 packages. Updated 2019-01-16. Refresh now. Tools for package owners.