logging

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(opts Options) error

func DebugAgentTrace

func DebugAgentTrace(trace AgentTrace)

func Debugf

func Debugf(format string, args ...any)

func Errorf

func Errorf(format string, args ...any)

func Fatalf

func Fatalf(format string, args ...any)

func Infof

func Infof(format string, args ...any)

func IsDebugEnabled

func IsDebugEnabled() bool

func SetLevel

func SetLevel(level string)

func Warnf

func Warnf(format string, args ...any)

Types

type AgentTrace

type AgentTrace struct {
	Provider  string
	Agent     string
	ThreadID  string
	Model     string
	Profile   string
	Input     string
	Output    string
	ToolCalls []string
	Error     string
}

type Options

type Options struct {
	Level      string
	FilePath   string
	MaxSizeMB  int
	MaxBackups int
	MaxAgeDays int
	Compress   bool
}

Jump to

Keyboard shortcuts

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