Documentation
¶
Overview ¶
Package auditlog provides an in-tree structured-log Audit plugin.
It implements plugin.Audit and writes one structured log line per audit event through a go-utils/log.Logger (which forge.Logger re-exports, so any Forge extension logger satisfies it directly). The extension registers it by default; disable with the extension config key auth.audit_log: false.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger is the plugin's logging dependency. go-utils/log.Logger (and therefore forge.Logger, a re-export of the same interface) satisfies it directly.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is a plugin.Audit sink that logs one structured Info line per audit event.
Click to show internal directories.
Click to hide internal directories.