logging

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logging wires a process-wide slog.Logger based on env config.

  • SHINYHUB_LOG_FORMAT = "text" (default when stdout is a TTY) or "json".
  • SHINYHUB_LOG_LEVEL = "debug" | "info" | "warn" | "error" (default info).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *slog.Logger

New builds a logger for the current process. Call once from main.

Types

This section is empty.

Jump to

Keyboard shortcuts

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