package
2.9.1
Repository: https://github.com/caddyserver/caddy.git
Documentation: pkg.go.dev

# Structs

AppendEncoder can be used to add fields to all log entries that pass through it.
ConsoleEncoder encodes log entries that are mostly human-readable.
CookieFilter is a Caddy log field filter that filters cookies.
DeleteFilter is a Caddy log field filter that deletes the field.
FileWriter can write logs to files.
FilterEncoder can filter (manipulate) fields on log entries before they are actually encoded by an underlying encoder.
HashFilter is a Caddy log field filter that replaces the field with the initial 4 bytes of the SHA-256 hash of the content.
IPMaskFilter is a Caddy log field filter that masks IP addresses in a string, or in an array of strings.
JSONEncoder encodes entries as JSON.
LogEncoderConfig holds configuration common to most encoders.
MockCore is a no-op module, purely for testing.
NetWriter implements a log writer that outputs to a network socket.
QueryFilter is a Caddy log field filter that filters query parameters from a URL.
RegexpFilter is a Caddy log field filter that replaces the field matching the provided regexp with the indicated string.
RenameFilter is a Caddy log field filter that renames the field's key with the indicated name.
ReplaceFilter is a Caddy log field filter that replaces the field with the indicated string.

# Interfaces

LogFieldFilter can filter (or manipulate) a field in a log entry.