Documentation ¶
Index ¶
- Constants
- Variables
- func AddHeliosHook() *heliosHook
- func AddHook(hook Hook)
- func Debug(args ...interface{})
- func DebugFn(fn LogFunction)
- func Debugf(format string, args ...interface{})
- func Debugln(args ...interface{})
- func DeferExitHandler(handler func())
- func Error(args ...interface{})
- func ErrorFn(fn LogFunction)
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Exit(code int)
- func Fatal(args ...interface{})
- func FatalFn(fn LogFunction)
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func Info(args ...interface{})
- func InfoFn(fn LogFunction)
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func IsLevelEnabled(level Level) bool
- func Panic(args ...interface{})
- func PanicFn(fn LogFunction)
- func Panicf(format string, args ...interface{})
- func Panicln(args ...interface{})
- func Print(args ...interface{})
- func PrintFn(fn LogFunction)
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func RegisterExitHandler(handler func())
- func SetBufferPool(bp BufferPool)
- func SetFormatter(formatter Formatter)
- func SetLevel(level Level)
- func SetOutput(out io.Writer)
- func SetReportCaller(include bool)
- func Trace(args ...interface{})
- func TraceFn(fn LogFunction)
- func Tracef(format string, args ...interface{})
- func Traceln(args ...interface{})
- func Warn(args ...interface{})
- func WarnFn(fn LogFunction)
- func Warnf(format string, args ...interface{})
- func Warning(args ...interface{})
- func WarningFn(fn LogFunction)
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
- func Warnln(args ...interface{})
- type BufferPool
- type Entry
- type Ext1FieldLogger
- type FieldLogger
- type FieldMap
- type Fields
- type Formatter
- type Hook
- type JSONFormatter
- type Level
- type LevelHooks
- type LogFunction
- type Logger
- type MutexWrap
- type StdLogger
- type TextFormatter
Constants ¶
View Source
const DebugLevel = origin_logrus.DebugLevel
View Source
const ErrorLevel = origin_logrus.ErrorLevel
View Source
const FatalLevel = origin_logrus.FatalLevel
View Source
const FieldKeyFile = origin_logrus.FieldKeyFile
View Source
const FieldKeyFunc = origin_logrus.FieldKeyFunc
View Source
const FieldKeyLevel = origin_logrus.FieldKeyLevel
View Source
const FieldKeyLogrusError = origin_logrus.FieldKeyLogrusError
View Source
const FieldKeyMsg = origin_logrus.FieldKeyMsg
View Source
const FieldKeyTime = origin_logrus.FieldKeyTime
View Source
const InfoLevel = origin_logrus.InfoLevel
View Source
const PanicLevel = origin_logrus.PanicLevel
View Source
const TraceLevel = origin_logrus.TraceLevel
View Source
const WarnLevel = origin_logrus.WarnLevel
Variables ¶
View Source
var AllLevels = origin_logrus.AllLevels
View Source
var ErrorKey = origin_logrus.ErrorKey
Functions ¶
func AddHeliosHook ¶
func AddHeliosHook() *heliosHook
func DebugFn ¶
func DebugFn(fn LogFunction)
func DeferExitHandler ¶
func DeferExitHandler(handler func())
func ErrorFn ¶
func ErrorFn(fn LogFunction)
func FatalFn ¶
func FatalFn(fn LogFunction)
func InfoFn ¶
func InfoFn(fn LogFunction)
func IsLevelEnabled ¶
func PanicFn ¶
func PanicFn(fn LogFunction)
func PrintFn ¶
func PrintFn(fn LogFunction)
func RegisterExitHandler ¶
func RegisterExitHandler(handler func())
func SetBufferPool ¶
func SetBufferPool(bp BufferPool)
func SetFormatter ¶
func SetFormatter(formatter Formatter)
func SetReportCaller ¶
func SetReportCaller(include bool)
func TraceFn ¶
func TraceFn(fn LogFunction)
func WarnFn ¶
func WarnFn(fn LogFunction)
func WarningFn ¶
func WarningFn(fn LogFunction)
Types ¶
type BufferPool ¶
type BufferPool = origin_logrus.BufferPool
type Ext1FieldLogger ¶
type Ext1FieldLogger = origin_logrus.Ext1FieldLogger
type FieldLogger ¶
type FieldLogger = origin_logrus.FieldLogger
type FieldMap ¶
type FieldMap = origin_logrus.FieldMap
type Fields ¶
type Fields = origin_logrus.Fields
type Formatter ¶
type Formatter = origin_logrus.Formatter
type Hook ¶
type Hook = origin_logrus.Hook
type JSONFormatter ¶
type JSONFormatter = origin_logrus.JSONFormatter
type LevelHooks ¶
type LevelHooks = origin_logrus.LevelHooks
type LogFunction ¶
type LogFunction = origin_logrus.LogFunction
type Logger ¶
type Logger = origin_logrus.Logger
func StandardLogger ¶
func StandardLogger() *Logger
type MutexWrap ¶
type MutexWrap = origin_logrus.MutexWrap
type StdLogger ¶
type StdLogger = origin_logrus.StdLogger
type TextFormatter ¶
type TextFormatter = origin_logrus.TextFormatter
Click to show internal directories.
Click to hide internal directories.