Documentation ¶
Index ¶
- type LogrusLogger
- func (l *LogrusLogger) Debug(_ context.Context, msg string)
- func (l *LogrusLogger) Debugf(_ context.Context, format string, args ...interface{})
- func (l *LogrusLogger) Error(_ context.Context, msg string)
- func (l *LogrusLogger) Errorf(_ context.Context, format string, args ...interface{})
- func (l *LogrusLogger) Info(_ context.Context, msg string)
- func (l *LogrusLogger) Infof(_ context.Context, format string, args ...interface{})
- func (l *LogrusLogger) Warn(_ context.Context, msg string)
- func (l *LogrusLogger) Warnf(_ context.Context, format string, args ...interface{})
- type RestyClient
- type SDKTextFormatter
- type ZapLogger
- func (z *ZapLogger) Debug(_ context.Context, msg string)
- func (z *ZapLogger) Debugf(_ context.Context, format string, args ...interface{})
- func (z *ZapLogger) Error(_ context.Context, msg string)
- func (z *ZapLogger) Errorf(_ context.Context, format string, args ...interface{})
- func (z *ZapLogger) Info(_ context.Context, msg string)
- func (z *ZapLogger) Infof(_ context.Context, format string, args ...interface{})
- func (z *ZapLogger) Warn(_ context.Context, msg string)
- func (z *ZapLogger) Warnf(_ context.Context, format string, args ...interface{})
- type ZeroLogger
- func (z *ZeroLogger) Debug(_ context.Context, msg string)
- func (z *ZeroLogger) Debugf(_ context.Context, format string, args ...interface{})
- func (z *ZeroLogger) Error(_ context.Context, msg string)
- func (z *ZeroLogger) Errorf(_ context.Context, format string, args ...interface{})
- func (z *ZeroLogger) Info(_ context.Context, msg string)
- func (z *ZeroLogger) Infof(_ context.Context, format string, args ...interface{})
- func (z *ZeroLogger) Warn(_ context.Context, msg string)
- func (z *ZeroLogger) Warnf(_ context.Context, format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusLogger ¶
type LogrusLogger struct {
// contains filtered or unexported fields
}
LogrusLogger is an adapter for the logrus.Logger.
func NewLogrusLogger ¶
func NewLogrusLogger() *LogrusLogger
func (*LogrusLogger) Debugf ¶
func (l *LogrusLogger) Debugf(_ context.Context, format string, args ...interface{})
func (*LogrusLogger) Errorf ¶
func (l *LogrusLogger) Errorf(_ context.Context, format string, args ...interface{})
type RestyClient ¶
type RestyClient struct {
// contains filtered or unexported fields
}
func NewRestyClient ¶
func NewRestyClient() *RestyClient
type SDKTextFormatter ¶
type SDKTextFormatter struct { logrus.TextFormatter Prefix string }
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
ZapLogger is an adapter for the zap.Logger.
func NewZapLogger ¶
func NewZapLogger() *ZapLogger
type ZeroLogger ¶
type ZeroLogger struct {
// contains filtered or unexported fields
}
ZeroLogger is an adapter for the zerolog.Logger.
func NewZeroLogger ¶
func NewZeroLogger() *ZeroLogger
func (*ZeroLogger) Debugf ¶
func (z *ZeroLogger) Debugf(_ context.Context, format string, args ...interface{})
func (*ZeroLogger) Errorf ¶
func (z *ZeroLogger) Errorf(_ context.Context, format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.