Documentation
¶
Overview ¶
Package logging manages setup of common logging interfaces and settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
Functions ¶
func SetupLogging ¶
func SetupLogging()
Types ¶
type LogrusFileHook ¶
type LogrusFileHook struct {
// contains filtered or unexported fields
}
func NewLogrusFileHook ¶
func (*LogrusFileHook) Levels ¶
func (hook *LogrusFileHook) Levels() []logrus.Level
type StandardHook ¶
type StandardHook struct {
Writer io.Writer
LogLevels []logrus.Level
Formatter *logrus.TextFormatter
}
func (*StandardHook) Levels ¶
func (hook *StandardHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.