logger

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &Logger{Logger: &logger}

Functions

func AttrReplacer

func AttrReplacer(_ []string, a slog.Attr) slog.Attr

Types

type Logger

type Logger struct {
	Level slog.Level

	*logr.Logger `env:"-"`
}

func (*Logger) Init

func (l *Logger) Init()

func (*Logger) SetDefault

func (l *Logger) SetDefault()

Jump to

Keyboard shortcuts

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