log

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 66

Documentation

Index

Constants

View Source
const (
	LevelFatal   = lorg.LevelFatal
	LevelError   = lorg.LevelError
	LevelWarning = lorg.LevelWarning
	LevelInfo    = lorg.LevelInfo
	LevelDebug   = lorg.LevelDebug
	LevelTrace   = lorg.LevelTrace
)

Variables

This section is empty.

Functions

func Debug

func Debug(values ...interface{})

func Debugf

func Debugf(
	context *karma.Context,
	message string,
	args ...interface{},
)

func Error

func Error(values ...interface{})

func Errorf

func Errorf(
	err error,
	message string,
	args ...interface{},
)

func Fatal

func Fatal(values ...interface{})

func Fatalf

func Fatalf(
	err error,
	message string,
	args ...interface{},
)

func GetLogger

func GetLogger() *cog.Logger

func Info

func Info(values ...interface{})

func Infof

func Infof(
	context *karma.Context,
	message string,
	args ...interface{},
)

func NewChild

func NewChild() *cog.Logger

func NewChildWithPrefix

func NewChildWithPrefix(prefix string) *cog.Logger

func SetLevel

func SetLevel(level Level)

func Trace

func Trace(values ...interface{})

func Tracef

func Tracef(
	context *karma.Context,
	message string,
	args ...interface{},
)

func Warning

func Warning(values ...interface{})

func Warningf

func Warningf(
	err error,
	message string,
	args ...interface{},
)

Types

type Level

type Level = lorg.Level

func GetLevel

func GetLevel() Level

Jump to

Keyboard shortcuts

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