Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(args ...interface{}) Debugln(args ...interface{}) Debugf(msg string, args ...interface{}) Info(msg string) Infoln(...interface{}) Infof(msg string, args ...interface{}) Warn(msg string) Warnln(...interface{}) Warnf(msg string, args ...interface{}) Error(msg string) Errorf(msg string, args ...interface{}) Fatalf(msg string, args ...interface{}) Print(args ...interface{}) Println(...interface{}) Printf(msg string, args ...interface{}) Trace(args ...interface{}) Traceln(...interface{}) Tracef(msg string, args ...interface{}) Verbose() bool WithFields(m map[string]interface{}) Logger WithPrefix(prefix string) Logger }
Logger implements structured and leveled logging
type LogrusFileHook ¶
type LogrusFileHook struct {
// contains filtered or unexported fields
}
func NewLogrusFileHook ¶
func (*LogrusFileHook) Levels ¶
func (hook *LogrusFileHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.