Versions in this module Expand all Collapse all v0 v0.5.1 May 12, 2026 v0.1.0 May 12, 2026 Changes in this version + var Logger *slog.Logger + func Abs(x int) int + func Clamp(x, min, max int) int + func CloseLogger() error + func Debug(msg string, args ...any) + func Error(msg string, args ...any) + func FormatBytes(bytes int64) string + func FormatDuration(ms int64) string + func FormatTokens(n int) string + func FormatTokens64(n uint64) string + func GetModelFamily(modelName string) string + func GetTokSourceDir() string + func Info(msg string, args ...any) + func InitLogger(logPath string, level LogLevel) error + func Max(a, b int) int + func Min(a, b int) int + func ShortenPath(path string, maxLen int) string + func Warn(msg string, args ...any) + type LogLevel string + const LevelDebug + const LevelError + const LevelInfo + const LevelWarn