Documentation ¶ Index ¶ func Init(logDir string) error func Log(level string, command string, message string) func LogAPICall(command string, model string, tokens int, latency time.Duration) func LogCacheEvent(command string, repo string, event string) func LogError(command string, err error) type Logger 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 } Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.