logging

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultLogger *slog.Logger

DefaultLogger is the default logger to use. Set it to a non-nil value if you want log output.

Functions

func Logger

func Logger() *slog.Logger

Logger returns a non-nil *slog.Logger. If DefaultLogger is nil, Logger returns a *slog.Logger that discards its output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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