Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogFmt = &nested.Formatter{ FieldsOrder: []string{ log.FieldKeyTime, log.FieldKeyLevel, log.FieldKeyFunc, log.FieldKeyMsg, }, CustomCallerFormatter: func(f *runtime.Frame) string { return fmt.Sprintf("(%s %s:%d)", f.Function, path.Base(f.File), f.Line) }, TimestampFormat: "2006-01-02 15:04:05.9999Z07:00", HideKeys: true, NoColors: false, NoFieldsColors: false, NoFieldsSpace: true, ShowFullLevel: true, NoUppercaseLevel: true, TrimMessages: true, CallerFirst: true, } )
Functions ¶
func GetFileWriter ¶
func GetFileWriter() *rotatelogs.RotateLogs
func ShowConsole ¶
func ShowConsole()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.