Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultLogLevel = logrus.InfoLevel DefaultTimestampFormat = time.RFC3339 )
Variables ¶
View Source
var WebapiDebug = false
Functions ¶
func NewCallerHook ¶
Types ¶
type CallerHook ¶
func (*CallerHook) Levels ¶
func (hook *CallerHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.