logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logger centralises configuration of the process-wide clog logger for the CLI. main calls Init once before any command runs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init configures clog for the CLI: structured output to stderr with automatic colour and TTY detection. It is the single place CLI logging is set up, so levels and other policy can grow here without touching command code.

func SetVerbose

func SetVerbose(verbose bool)

SetVerbose enables debug-level CLI logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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