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) TextFormatter 表示文本格式输出 Types ¶ This section is empty. Source Files ¶ View all Source files json.go prefix.go text.go Click to show internal directories. Click to hide internal directories.