logger

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package logger wraps charmbracelet/log behind slog, providing leveled structured logging with optional color and timestamps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, keysAndValues ...interface{})

Debug logs a message at DEBUG level; suppressed unless verbose logging is enabled.

func Error

func Error(msg string, keysAndValues ...interface{})

Error logs a message at ERROR level.

func Info

func Info(msg string, keysAndValues ...interface{})

Info logs a message at INFO level with optional structured key-value pairs.

func Initialize

func Initialize(logLevel string, plain bool)

Initialize sets the global log level and output format.

func Warn

func Warn(msg string, keysAndValues ...interface{})

Warn logs a message at WARN level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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