oterrlog

package module
v0.0.0-...-b2e0833 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level slog.Level
const (
	TraceLevel  Level = 1
	Trace2Level Level = 2
	Trace3Level Level = 3
	Trace4Level Level = 4
	DebugLevel  Level = 5
	Debug2Level Level = 6
	Debug3Level Level = 7
	Debug4Level Level = 8
	InfoLevel   Level = 9
	Info2Level  Level = 10
	Info3Level  Level = 11
	Info4Level  Level = 12
	WarnLevel   Level = 13
	Warn2Level  Level = 14
	Warn3Level  Level = 15
	Warn4Level  Level = 16
	ErrorLevel  Level = 17
	Error2Level Level = 18
	Error3Level Level = 19
	Error4Level Level = 20
	FatalLevel  Level = 21
	Fatal2Level Level = 22
	Fatal3Level Level = 23
	Fatal4Level Level = 24
)

func LevelValue

func LevelValue(str string) (Level, error)

func (Level) IsDebugLevel

func (l Level) IsDebugLevel() bool

func (Level) IsErrorLevel

func (l Level) IsErrorLevel() bool

func (Level) IsFatalLevel

func (l Level) IsFatalLevel() bool

func (Level) IsInfoLevel

func (l Level) IsInfoLevel() bool

func (Level) IsTraceLevel

func (l Level) IsTraceLevel() bool

func (Level) IsWarnLevel

func (l Level) IsWarnLevel() bool

func (Level) String

func (l Level) String() string

type OTLogger

type OTLogger struct {
	// contains filtered or unexported fields
}

func (*OTLogger) Debug

func (l *OTLogger) Debug(args ...any)

func (*OTLogger) Debug2

func (l *OTLogger) Debug2(args ...any)

func (*OTLogger) Debug3

func (l *OTLogger) Debug3(args ...any)

func (*OTLogger) Debug4

func (l *OTLogger) Debug4(args ...any)

func (*OTLogger) Debugf

func (l *OTLogger) Debugf(format string, args ...any)

func (*OTLogger) Debugf2

func (l *OTLogger) Debugf2(format string, args ...any)

func (*OTLogger) Debugf3

func (l *OTLogger) Debugf3(format string, args ...any)

func (*OTLogger) Debugf4

func (l *OTLogger) Debugf4(format string, args ...any)

func (*OTLogger) Error

func (l *OTLogger) Error(args ...any)

func (*OTLogger) Error2

func (l *OTLogger) Error2(args ...any)

func (*OTLogger) Error3

func (l *OTLogger) Error3(args ...any)

func (*OTLogger) Error4

func (l *OTLogger) Error4(args ...any)

func (*OTLogger) Errorf

func (l *OTLogger) Errorf(format string, args ...any)

func (*OTLogger) Errorf2

func (l *OTLogger) Errorf2(format string, args ...any)

func (*OTLogger) Errorf3

func (l *OTLogger) Errorf3(format string, args ...any)

func (*OTLogger) Errorf4

func (l *OTLogger) Errorf4(format string, args ...any)

func (*OTLogger) Fatal

func (l *OTLogger) Fatal(args ...any)

func (*OTLogger) Fatal2

func (l *OTLogger) Fatal2(args ...any)

func (*OTLogger) Fatal3

func (l *OTLogger) Fatal3(args ...any)

func (*OTLogger) Fatal4

func (l *OTLogger) Fatal4(args ...any)

func (*OTLogger) Fatalf

func (l *OTLogger) Fatalf(format string, args ...any)

func (*OTLogger) Fatalf2

func (l *OTLogger) Fatalf2(format string, args ...any)

func (*OTLogger) Fatalf3

func (l *OTLogger) Fatalf3(format string, args ...any)

func (*OTLogger) Fatalf4

func (l *OTLogger) Fatalf4(format string, args ...any)

func (*OTLogger) Info

func (l *OTLogger) Info(args ...any)

func (*OTLogger) Info2

func (l *OTLogger) Info2(args ...any)

func (*OTLogger) Info3

func (l *OTLogger) Info3(args ...any)

func (*OTLogger) Info4

func (l *OTLogger) Info4(args ...any)

func (*OTLogger) Infof

func (l *OTLogger) Infof(format string, args ...any)

func (*OTLogger) Infof2

func (l *OTLogger) Infof2(format string, args ...any)

func (*OTLogger) Infof3

func (l *OTLogger) Infof3(format string, args ...any)

func (*OTLogger) Infof4

func (l *OTLogger) Infof4(format string, args ...any)

func (*OTLogger) Trace

func (l *OTLogger) Trace(args ...any)

func (*OTLogger) Trace2

func (l *OTLogger) Trace2(args ...any)

func (*OTLogger) Trace3

func (l *OTLogger) Trace3(args ...any)

func (*OTLogger) Trace4

func (l *OTLogger) Trace4(args ...any)

func (*OTLogger) Tracef

func (l *OTLogger) Tracef(format string, args ...any)

func (*OTLogger) Tracef2

func (l *OTLogger) Tracef2(format string, args ...any)

func (*OTLogger) Tracef3

func (l *OTLogger) Tracef3(format string, args ...any)

func (*OTLogger) Tracef4

func (l *OTLogger) Tracef4(format string, args ...any)

func (*OTLogger) Warn

func (l *OTLogger) Warn(args ...any)

func (*OTLogger) Warn2

func (l *OTLogger) Warn2(args ...any)

func (*OTLogger) Warn3

func (l *OTLogger) Warn3(args ...any)

func (*OTLogger) Warn4

func (l *OTLogger) Warn4(args ...any)

func (*OTLogger) Warnf

func (l *OTLogger) Warnf(format string, args ...any)

func (*OTLogger) Warnf2

func (l *OTLogger) Warnf2(format string, args ...any)

func (*OTLogger) Warnf3

func (l *OTLogger) Warnf3(format string, args ...any)

func (*OTLogger) Warnf4

func (l *OTLogger) Warnf4(format string, args ...any)

Jump to

Keyboard shortcuts

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