MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Hook

Struct Hook

logger/syslog/syslog.go:11–14  ·  view source on GitHub ↗

Hook is a [logger.Hook] implementation for syslog.

Source from the content-addressed store, hash-verified

9
10// Hook is a [logger.Hook] implementation for syslog.
11type Hook struct {
12 writer *syslog.Writer
13 level slog.Leveler
14}
15
16// NewHook creates a new syslog hook.
17// It returns nil if the syslog hook is not enabled in the config.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected