logging

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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