log

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 2 Imported by: 9

Documentation

Overview

Package log provides initialization for Go's slog logging.

To enable DEBUG level logging, make sure to set the DEBUG environment variable to "true".

Index

Constants

View Source
const IsDebugEnabled = false

IsDebugEnabled indicates whether debug logging is enabled.

Variables

This section is empty.

Functions

func ForNamespace added in v0.23.0

func ForNamespace(namespace string) *slog.Logger

ForNamespace returns an slog.Logger for the specified namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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