Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilelineCaller ¶
FilelineCaller returns file and line for caller
func IsTerminal ¶
IsTerminal returns whether is a valid tty for io.Writer
Types ¶
type JSONFormatter ¶
type JSONFormatter struct {
AppName string
TimeFormat string
// contains filtered or unexported fields
}
JSONFormatter is a json formatter
type TextFormatter ¶
type TextFormatter struct {
AppName string
TimeFormat string
// contains filtered or unexported fields
}
TextFormatter is a text line formatter
Click to show internal directories.
Click to hide internal directories.