Help us shape the future of Go! Take the 2026 Go Developer Survey

http-logger

command module
v0.0.0-...-fd440e8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 8 Imported by: 0

README

http-logger

coverage

Simple service to log HTTP requests for debugging purposes.

Configuration

Configuration is read from config.yaml in the working directory (or the file passed with --config), environment variables, and command-line flags. Copy config.example.yaml to config.yaml to get started.

Key Type Default Environment Flag Description
log-level string info LOG_LEVEL --log-level Logging level for the application. One of debug, info, warn, or error
http.bind string [::] HTTP_BIND --http.bind Address to listen on. The default, [::], listens on all interfaces
http.port integer 8080 HTTP_PORT --http.port Port to listen on

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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