logformat

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package logformat is a http handler wrapper for providing Apache CLF output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCombinedLog

func WriteCombinedLog(writer io.Writer, params handlers.LogFormatterParams)

WriteCombinedLog writes a log entry for req to w in Apache Combined Log Format. ts is the timestamp with which the entry should be logged. status and size are used to provide the response HTTP status and size.

Types

This section is empty.

Jump to

Keyboard shortcuts

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