Documentation
¶
Overview ¶
Package logging re-exports request logging primitives for SDK consumers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileRequestLogger ¶
type FileRequestLogger = internallogging.FileRequestLogger
FileRequestLogger implements RequestLogger using file-based storage.
func NewFileRequestLogger ¶
func NewFileRequestLogger(enabled bool, logsDir string, configDir string) *FileRequestLogger
NewFileRequestLogger creates a new file-based request logger with default error log retention (10 files).
func NewFileRequestLoggerWithOptions ¶ added in v6.7.40
func NewFileRequestLoggerWithOptions(enabled bool, logsDir string, configDir string, errorLogsMaxFiles int) *FileRequestLogger
NewFileRequestLoggerWithOptions creates a new file-based request logger with configurable error log retention.
type RequestLogger ¶
type RequestLogger = internallogging.RequestLogger
RequestLogger defines the interface for logging HTTP requests and responses.
type StreamingLogWriter ¶
type StreamingLogWriter = internallogging.StreamingLogWriter
StreamingLogWriter handles real-time logging of streaming response chunks.
Click to show internal directories.
Click to hide internal directories.