Documentation
¶
Index ¶
- func LogCrawlComplete(url string, totalPages int, errors int)
- func LogCrawlError(url string, depth int, err error)
- func LogCrawlProgress(url string, depth int, statusCode int)
- func LogCrawlStart(url string, maxDepth int, concurrent int, userAgent string)
- func LogDebug(message string, args ...any)
- func LogError(message string, args ...any)
- func LogInfo(message string, args ...any)
- func LogWarn(message string, args ...any)
- type LoggingConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogCrawlComplete ¶
LogCrawlComplete logs the completion of a crawl operation
func LogCrawlError ¶
LogCrawlError logs crawl errors with structured context
func LogCrawlProgress ¶
LogCrawlProgress logs crawl progress information
func LogCrawlStart ¶
LogCrawlStart logs the start of a crawl operation with structured data
Types ¶
type LoggingConfig ¶
LoggingConfig holds the configuration for the logging system
func NewLoggingConfig ¶
func NewLoggingConfig(verbose bool) *LoggingConfig
NewLoggingConfig creates a new logging configuration
func (*LoggingConfig) SetupLogger ¶
func (c *LoggingConfig) SetupLogger()
SetupLogger configures the global logger with the given configuration
Click to show internal directories.
Click to hide internal directories.