logger

package
v0.0.0-...-4044be6 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-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 Logger

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

func NewLogger

func NewLogger(options ...Option) *Logger

func (*Logger) GetLogLevel

func (l *Logger) GetLogLevel() slog.Level

func (*Logger) SetAsGlobalHandler

func (l *Logger) SetAsGlobalHandler() *Logger

type Option

type Option func(*Logger)

func WithLogLevel

func WithLogLevel(level string) Option

Jump to

Keyboard shortcuts

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