log

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Error     = "error"
	Component = "component"
	Szenario  = "szenario"
	User      = "user"
)

Variables

This section is empty.

Functions

func Caller

func Caller(skip int) string

func Create

func Create(name string, lvl slog.Level) *slog.Logger

func LevelFromString

func LevelFromString(levelStr string) slog.Level

func New

func New(name string) *slog.Logger

func ProcessSourceField added in v0.14.2

func ProcessSourceField(attr slog.Attr, json bool) slog.Attr

func VlogCompat

func VlogCompat(l *slog.Logger) *vlog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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