logger

package
v1.167.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger() *Logger

func (*Logger) LogSessionEnd

func (l *Logger) LogSessionEnd(sessionID string, messageCount int) error

func (*Logger) LogSessionStart

func (l *Logger) LogSessionStart(sessionID string, repository string) error

type SessionLog

type SessionLog struct {
	SessionID    string     `json:"session_id"`
	StartedAt    time.Time  `json:"started_at"`
	DeletedAt    *time.Time `json:"deleted_at,omitempty"`
	Repository   string     `json:"repository"`
	MessageCount int        `json:"message_count"`
}

Jump to

Keyboard shortcuts

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