logger

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: May 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env          string
	AppName      string
	AppVersion   string
	DebugEnabled bool
	CallerSkipNo int
}

Config ...

type Logger

type Logger struct {
	Log *slog.Logger
}

func New

func New(config *Config) *Logger

New creates a new logger

Jump to

Keyboard shortcuts

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