Documentation ¶
Index ¶
- Variables
- func Fprintf(writer io.Writer, format string, kvObj ...interface{}) (int, error)
- func Fprintln(writer io.Writer, valuesObj ...interface{}) (int, error)
- func Printf(format string, kvObj ...interface{}) (int, error)
- func Println(valuesObj ...interface{}) (int, error)
- func Sprintf(format string, kvObj ...interface{}) string
- type Format
- type Formatter
- type Formatters
- type GoTimeFormat
Constants ¶
This section is empty.
Variables ¶
View Source
var Formats = map[string]Format{ "goTime": &GoTimeFormat{}, }
Functions ¶
Types ¶
type Formatter ¶
func FormatterOf ¶
type Formatters ¶
type Formatters struct {
// contains filtered or unexported fields
}
func (Formatters) Append ¶
func (formatters Formatters) Append(formatter Formatter) Formatters
func (Formatters) Format ¶
func (formatters Formatters) Format(space []byte, kv []interface{}) []byte
type GoTimeFormat ¶
type GoTimeFormat struct { }
func (*GoTimeFormat) FormatterOf ¶
func (format *GoTimeFormat) FormatterOf(targetKey string, formatArgs []string, sample []interface{}) (Formatter, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.