slog

package
v0.0.0-...-a663fdf Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlogHandler

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

func New

func New(h slog.Handler) *SlogHandler

func (*SlogHandler) Debug

func (handler *SlogHandler) Debug(msg string, args ...any)

func (*SlogHandler) Error

func (handler *SlogHandler) Error(msg string, args ...any)

func (*SlogHandler) Info

func (handler *SlogHandler) Info(msg string, args ...any)

func (*SlogHandler) Warn

func (handler *SlogHandler) Warn(msg string, args ...any)

Jump to

Keyboard shortcuts

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