Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = logger.Debug
View Source
var Debugf = logger.Debugf
View Source
var Debugln = logger.Debugln
View Source
var Error = logger.Error
View Source
var Errorf = logger.Errorf
View Source
var Errorln = logger.Errorln
View Source
var Fatal = logger.Fatal
View Source
var Fatalf = logger.Fatalf
View Source
var Fatalln = logger.Fatalln
View Source
var Info = logger.Info
View Source
var Infof = logger.Infof
View Source
var Infoln = logger.Infoln
View Source
var Panic = logger.Panic
View Source
var Panicf = logger.Panicf
View Source
var Panicln = logger.Panicln
View Source
var Warn = logger.Warn
View Source
var Warnf = logger.Warnf
View Source
var Warnln = logger.Warnln
Functions ¶
func NewLogCapture ¶ added in v0.6.0
func OnReport ¶ added in v0.6.0
func OnReport(handler func(*ReportEntry))
func TopicLogger ¶
Types ¶
type ReportEntry ¶
type ReportHook ¶
func NewReportHook ¶
func NewReportHook() *ReportHook
func (*ReportHook) Levels ¶
func (h *ReportHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.