trace

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToJSON

func ToJSON(v interface{}) string

Types

type Logger

type Logger struct {
	log.Logger
	// contains filtered or unexported fields
}

func LoggerOf

func LoggerOf(l log.Logger) *Logger

func NewLogger

func NewLogger(l log.Logger, t module.TraceCallback) *Logger

func (*Logger) IsTrace

func (l *Logger) IsTrace() bool

func (*Logger) TDebug

func (l *Logger) TDebug(a ...interface{})

func (*Logger) TDebugf

func (l *Logger) TDebugf(f string, a ...interface{})

func (*Logger) TDebugln

func (l *Logger) TDebugln(a ...interface{})

func (*Logger) TLog

func (l *Logger) TLog(lv module.TraceLevel, a ...interface{})

func (*Logger) TLogf

func (l *Logger) TLogf(lv module.TraceLevel, f string, a ...interface{})

func (*Logger) TLogln

func (l *Logger) TLogln(lv module.TraceLevel, a ...interface{})

func (*Logger) TSystem

func (l *Logger) TSystem(a ...interface{})

func (*Logger) TSystemf

func (l *Logger) TSystemf(f string, a ...interface{})

func (*Logger) TSystemln

func (l *Logger) TSystemln(a ...interface{})

func (*Logger) TTrace

func (l *Logger) TTrace(a ...interface{})

func (*Logger) TTracef

func (l *Logger) TTracef(f string, a ...interface{})

func (*Logger) TTraceln

func (l *Logger) TTraceln(a ...interface{})

func (*Logger) WithFields

func (l *Logger) WithFields(f log.Fields) log.Logger

Jump to

Keyboard shortcuts

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