Documentation ¶
Index ¶
- Constants
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func LogError(currentFunctionName, functionCalledName string, err error)
- func LogFatalError(currentFunctionName, functionCalledName string, err error)
- func LogLevel() string
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func SetLogLevel(newLevel logrus.Level)
- func TraceEnter(functionName string)
- func TraceLeave(functionName string)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type ContextHook
Constants ¶
View Source
const INDENTATION_TOKEN = " "
View Source
const INDENTATION_TOKEN_LENGTH = 4
Variables ¶
This section is empty.
Functions ¶
func LogFatalError ¶
func SetLogLevel ¶
func TraceEnter ¶
func TraceEnter(functionName string)
func TraceLeave ¶
func TraceLeave(functionName string)
Types ¶
type ContextHook ¶
type ContextHook struct{}
func (ContextHook) Levels ¶
func (hook ContextHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.