log

package
v0.0.0-...-3c357ad Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ctx

func Ctx(ctx echo.Context) *slog.Logger

Ctx returns the logger stored in context, or provides the default logger if one is not present

func Default

func Default() *slog.Logger

Default returns the default logger

func Set

func Set(ctx echo.Context, logger *slog.Logger)

Set sets a logger in the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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