Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func DebugCtx(ctx context.Context, args ...interface{})
- func Debugf(format string, args ...interface{})
- func DebugfCtx(ctx context.Context, format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func FatalCtx(ctx context.Context, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func FatalfCtx(ctx context.Context, format string, args ...interface{})
- func Info(args ...interface{})
- func InfoCtx(ctx context.Context, args ...interface{})
- func Infof(format string, args ...interface{})
- func InfofCtx(ctx context.Context, format string, args ...interface{})
- func Init(app config.AppConfig)
- func MakeContextLogger(l *logrus.Entry) func(http.Handler) http.Handler
- func Panic(args ...interface{})
- func PanicCtx(ctx context.Context, args ...interface{})
- func Panicf(format string, args ...interface{})
- func PanicfCtx(ctx context.Context, format string, args ...interface{})
- func ToContext(ctx context.Context, entry *Entry) context.Context
- func Trace(args ...interface{})
- func TraceCtx(ctx context.Context, args ...interface{})
- func Tracef(format string, args ...interface{})
- func TracefCtx(ctx context.Context, format string, args ...interface{})
- func Warn(args ...interface{})
- func WarnCtx(ctx context.Context, format string, args ...interface{})
- func Warnf(format string, args ...interface{})
- func WarnfCtx(ctx context.Context, format string, args ...interface{})
- type Entry
- func (e *Entry) Debug(args ...interface{})
- func (e *Entry) Debugf(format string, args ...interface{})
- func (e *Entry) Error(args ...interface{})
- func (e *Entry) Errorf(format string, args ...interface{})
- func (e *Entry) Fatal(args ...interface{})
- func (e *Entry) Fatalf(format string, args ...interface{})
- func (e *Entry) Info(args ...interface{})
- func (e *Entry) Infof(format string, args ...interface{})
- func (e *Entry) Panic(args ...interface{})
- func (e *Entry) Panicf(format string, args ...interface{})
- func (e *Entry) Trace(args ...interface{})
- func (e *Entry) Tracef(format string, args ...interface{})
- func (e *Entry) Warn(args ...interface{})
- func (e *Entry) Warnf(format string, args ...interface{})
- func (e *Entry) WithField(key string, value interface{}) *Entry
- func (e *Entry) WithFields(fields map[string]interface{}) *Entry
- type Fields
- type IFields
- type LogCtxKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
func (*Entry) WithFields ¶
Click to show internal directories.
Click to hide internal directories.