logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(logDir string) error

func Log

func Log(level string, command string, message string)

func LogAPICall

func LogAPICall(command string, model string, tokens int, latency time.Duration)

func LogCacheEvent

func LogCacheEvent(command string, repo string, event string)

func LogError

func LogError(command string, err error)

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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