logging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StructuredLogger

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

StructuredLogger implements ExecutionLogger using slog.

func NewStructuredLogger

func NewStructuredLogger() *StructuredLogger

NewStructuredLogger creates a new JSON logger for execution events.

func (*StructuredLogger) LogPlanEnd

func (l *StructuredLogger) LogPlanEnd(ctx context.Context, requestID, assistantID string, err error) error

LogPlanEnd implements execution.ExecutionLogger.

func (*StructuredLogger) LogPlanStart

func (l *StructuredLogger) LogPlanStart(ctx context.Context, requestID, assistantID string, plan execution.ExecutionPlan) error

LogPlanStart implements execution.ExecutionLogger.

func (*StructuredLogger) LogStep

LogStep implements execution.ExecutionLogger.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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