logging

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLogger

func DefaultLogger() *slog.Logger

DefaultLogger returns the default (module-specific) logger.

func DisabledLogger

func DisabledLogger() *slog.Logger

DisabledLogger returns a logger that is disabled for all logging levels.

func SetDefaultLevel

func SetDefaultLevel(l slog.Level)

SetDefaultLevel sets the logging level for the module's default logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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