googger

package module
v0.0.0-...-6ec7e4a Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelFatal = slog.Level(12)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomLogger

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

func NewLogger

func NewLogger(logPath, moduleName, logLevel string) (*CustomLogger, error)

func (*CustomLogger) Close

func (l *CustomLogger) Close() error

func (*CustomLogger) Debug

func (l *CustomLogger) Debug(msg string, args ...any)

func (*CustomLogger) Error

func (l *CustomLogger) Error(msg string, args ...any)

func (*CustomLogger) Fatal

func (l *CustomLogger) Fatal(msg string, args ...any)

func (*CustomLogger) Info

func (l *CustomLogger) Info(msg string, args ...any)

func (*CustomLogger) Warn

func (l *CustomLogger) Warn(msg string, args ...any)

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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