Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallerFormat ¶
CallerFormat format entry caller as text with fmt.Sprintf
func DefaultFormat ¶
func DefaultFormat(value interface{}) string
DefaultFormat format value as text with fmt.Sprintf
Types ¶
type TextFormatter ¶
type TextFormatter struct {
logrus.TextFormatter
SourceField string
FormatValue func(value interface{}) string
FormatCaller func(caller *runtime.Frame) string
// contains filtered or unexported fields
}
TextFormatter formats logs into text
Click to show internal directories.
Click to hide internal directories.