eslog

package module
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 4 Imported by: 0

README

eslog

eslog is a tiny wrapper around log/slog that provides a Fatal method

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*slog.Logger
}

func NewEsLogHandler

func NewEsLogHandler(format string, level string) (Logger, error)

func (*Logger) Fatal

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

Jump to

Keyboard shortcuts

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