Documentation ¶
Index ¶
- type Zap2BadgerAdapter
- type Zap2HCLogAdapter
- func (l *Zap2HCLogAdapter) Debug(format string, args ...any)
- func (l *Zap2HCLogAdapter) Error(format string, args ...any)
- func (l *Zap2HCLogAdapter) GetLevel() hclog.Level
- func (l *Zap2HCLogAdapter) ImpliedArgs() []any
- func (l *Zap2HCLogAdapter) Info(format string, args ...any)
- func (l *Zap2HCLogAdapter) IsDebug() bool
- func (l *Zap2HCLogAdapter) IsError() bool
- func (l *Zap2HCLogAdapter) IsInfo() bool
- func (l *Zap2HCLogAdapter) IsTrace() bool
- func (l *Zap2HCLogAdapter) IsWarn() bool
- func (l *Zap2HCLogAdapter) Log(level hclog.Level, format string, args ...any)
- func (l *Zap2HCLogAdapter) Name() string
- func (l *Zap2HCLogAdapter) Named(name string) hclog.Logger
- func (l *Zap2HCLogAdapter) ResetNamed(name string) hclog.Logger
- func (l *Zap2HCLogAdapter) SetLevel(level hclog.Level)
- func (l *Zap2HCLogAdapter) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
- func (l *Zap2HCLogAdapter) StandardWriter(opts *hclog.StandardLoggerOptions) io.Writer
- func (l *Zap2HCLogAdapter) Trace(format string, args ...any)
- func (l *Zap2HCLogAdapter) Warn(format string, args ...any)
- func (l *Zap2HCLogAdapter) With(args ...any) hclog.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zap2BadgerAdapter ¶
type Zap2BadgerAdapter struct {
// contains filtered or unexported fields
}
func NewZap2BadgerAdapter ¶
func NewZap2BadgerAdapter(logger *zap.Logger) *Zap2BadgerAdapter
func (*Zap2BadgerAdapter) Debugf ¶
func (a *Zap2BadgerAdapter) Debugf(format string, args ...interface{})
func (*Zap2BadgerAdapter) Errorf ¶
func (a *Zap2BadgerAdapter) Errorf(format string, args ...interface{})
func (*Zap2BadgerAdapter) Infof ¶
func (a *Zap2BadgerAdapter) Infof(format string, args ...interface{})
func (*Zap2BadgerAdapter) Warningf ¶
func (a *Zap2BadgerAdapter) Warningf(format string, args ...interface{})
type Zap2HCLogAdapter ¶
type Zap2HCLogAdapter struct {
// contains filtered or unexported fields
}
func NewZap2HCLogAdapter ¶
func NewZap2HCLogAdapter(logger *zap.Logger) *Zap2HCLogAdapter
func (*Zap2HCLogAdapter) Debug ¶
func (l *Zap2HCLogAdapter) Debug(format string, args ...any)
func (*Zap2HCLogAdapter) Error ¶
func (l *Zap2HCLogAdapter) Error(format string, args ...any)
func (*Zap2HCLogAdapter) GetLevel ¶
func (l *Zap2HCLogAdapter) GetLevel() hclog.Level
func (*Zap2HCLogAdapter) ImpliedArgs ¶
func (l *Zap2HCLogAdapter) ImpliedArgs() []any
func (*Zap2HCLogAdapter) Info ¶
func (l *Zap2HCLogAdapter) Info(format string, args ...any)
func (*Zap2HCLogAdapter) IsDebug ¶
func (l *Zap2HCLogAdapter) IsDebug() bool
func (*Zap2HCLogAdapter) IsError ¶
func (l *Zap2HCLogAdapter) IsError() bool
func (*Zap2HCLogAdapter) IsInfo ¶
func (l *Zap2HCLogAdapter) IsInfo() bool
func (*Zap2HCLogAdapter) IsTrace ¶
func (l *Zap2HCLogAdapter) IsTrace() bool
func (*Zap2HCLogAdapter) IsWarn ¶
func (l *Zap2HCLogAdapter) IsWarn() bool
func (*Zap2HCLogAdapter) Log ¶
func (l *Zap2HCLogAdapter) Log(level hclog.Level, format string, args ...any)
func (*Zap2HCLogAdapter) Name ¶
func (l *Zap2HCLogAdapter) Name() string
func (*Zap2HCLogAdapter) Named ¶
func (l *Zap2HCLogAdapter) Named(name string) hclog.Logger
func (*Zap2HCLogAdapter) ResetNamed ¶
func (l *Zap2HCLogAdapter) ResetNamed(name string) hclog.Logger
func (*Zap2HCLogAdapter) SetLevel ¶
func (l *Zap2HCLogAdapter) SetLevel(level hclog.Level)
func (*Zap2HCLogAdapter) StandardLogger ¶
func (l *Zap2HCLogAdapter) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger
func (*Zap2HCLogAdapter) StandardWriter ¶
func (l *Zap2HCLogAdapter) StandardWriter(opts *hclog.StandardLoggerOptions) io.Writer
func (*Zap2HCLogAdapter) Trace ¶
func (l *Zap2HCLogAdapter) Trace(format string, args ...any)
func (*Zap2HCLogAdapter) Warn ¶
func (l *Zap2HCLogAdapter) Warn(format string, args ...any)
func (*Zap2HCLogAdapter) With ¶
func (l *Zap2HCLogAdapter) With(args ...any) hclog.Logger
Click to show internal directories.
Click to hide internal directories.