MCPcopy
hub / github.com/caddyserver/caddy / RenameFilter

Struct RenameFilter

modules/logging/filters.go:847–849  ·  view source on GitHub ↗

RenameFilter is a Caddy log field filter that renames the field's key with the indicated name.

Source from the content-addressed store, hash-verified

845// RenameFilter is a Caddy log field filter that
846// renames the field's key with the indicated name.
847type RenameFilter struct {
848 Name string `json:"name,omitempty"`
849}
850
851// CaddyModule returns the Caddy module information.
852func (RenameFilter) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected