logging

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logging provides structured logging for AgentCTL using stdlib slog. Default level is Warn (silent in normal use). Enable debug with --debug flag or /debug command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, args ...any)

func Error

func Error(msg string, args ...any)

func Info

func Info(msg string, args ...any)

func Init

func Init(w io.Writer, debug bool)

Init configures the logger output and level.

func IsDebug

func IsDebug() bool

IsDebug reports whether debug logging is active.

func SetDebug

func SetDebug(on bool)

SetDebug toggles debug level at runtime (for /debug command).

func Warn

func Warn(msg string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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