package
3.82.6
Repository: https://github.com/trufflesecurity/trufflehog.git
Documentation: pkg.go.dev

# Functions

AddLeveler adds a log level control to a logr.Logger.
AddSentry initializes a sentry client and extends an existing logr.Logger with the hook.
AddSink extends an existing logr.Logger with a new sink.
New creates a new log object with the provided configurations.
NewLevelCore creates a core that can be used to independently control the level of an existing Core.
SetLevel sets the log level for loggers created with the default level controller.
SetLevelFor sets the log level for a given named control.
SetLevelForControl sets the log level for a given control.
WithConsoleSink adds a console-style output to the logger.
WithCore adds any user supplied zap core to the logger.
WithJSONSink adds a JSON encoded output to the logger.
WithLevel sets the sink's level to a static level.
WithLeveler sets the sink's level enabler to leveler.
WithNamedLevel creates a child logger with a new name and independent log level control (see SetLevelFor).
WithSentry adds sentry integration to the logger.