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