Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LogLevelFnMap is a map between loglevel and log functions from logrus LogLevelFnMap = map[logrus.Level]func(args ...interface{}){ logrus.TraceLevel: logrus.Trace, logrus.DebugLevel: logrus.Debug, logrus.InfoLevel: logrus.Info, logrus.WarnLevel: logrus.Warn, logrus.ErrorLevel: logrus.Error, } )
Functions ¶
This section is empty.
Types ¶
type MyFormatter ¶
type MyFormatter struct { logrus.TextFormatter // contains filtered or unexported fields }
MyFormatter ...
func GetDefaultFormatter ¶
func GetDefaultFormatter() *MyFormatter
GetDefaultFormatter returns the default formatter used by all Safescale modules
Click to show internal directories.
Click to hide internal directories.