Documentation ¶ Index ¶ func JsonFormatter(level contract.LogLevel, t time.Time, msg string, ...) ([]byte, error) func Prefix(level contract.LogLevel) string func TextFormatter(level contract.LogLevel, t time.Time, msg string, ...) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func JsonFormatter ¶ func JsonFormatter(level contract.LogLevel, t time.Time, msg string, fields map[string]interface{}) ([]byte, error) func Prefix ¶ func Prefix(level contract.LogLevel) string func TextFormatter ¶ func TextFormatter(level contract.LogLevel, t time.Time, msg string, fields map[string]interface{}) ([]byte, error) Types ¶ This section is empty. Source Files ¶ View all Source files json.go prefix.go test.go Click to show internal directories. Click to hide internal directories.