logger

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatLogger

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

func NewChatLogger

func NewChatLogger(logDir string, logFormat string, console io.Writer, showMetrics bool) (*ChatLogger, error)

func (*ChatLogger) Close

func (l *ChatLogger) Close()

func (*ChatLogger) LogError

func (l *ChatLogger) LogError(agentName string, err error)

func (*ChatLogger) LogMessage

func (l *ChatLogger) LogMessage(msg agent.Message)

func (*ChatLogger) LogSystem

func (l *ChatLogger) LogSystem(message string)

Jump to

Keyboard shortcuts

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