Documentation
¶
Overview ¶
Example: Request/Response Logging
This example demonstrates how to use the logging features to debug and monitor HTTP requests and responses.
Available logging modes: - Console: Pretty colored output for terminal - ConsoleVerbose: Includes full headers and cookies - File: JSON output for log aggregation - Multi: Write to multiple destinations
Run: go run ./examples/logging
Click to show internal directories.
Click to hide internal directories.