adapter

package
v0.0.0-...-5c72b2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL