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