package
0.0.0-20230731063137-b9f82f2542ce
Repository: https://github.com/ci-monk/drprune.git
Documentation: pkg.go.dev

# Functions

Debug function to print a pretty formatted log debug message.
Debugf function to print a pretty formatted log debug message.
Debugln function to print a pretty formatted log debug message.
Error function to print a pretty formatted log error message.
Errorf function to print a pretty formatted log error message.
Errorln function to print a pretty formatted log error message.
Fatal function to print a pretty formatted log fatal message.
Fatalf function to print a pretty formatted log fatal message.
Fatalln function to print a pretty formatted log fatal message.
Info function to print a pretty formatted log info message.
Infof function to print a pretty formatted log info message.
Infoln function to print a pretty formatted log info message.
Setup returns a new logrus instance.
Warn function to print a pretty formatted log warn message.
Warnf function to print a pretty formatted log warn message.
Warnln function to print a pretty formatted log warn message.
WithConfig takes the logger configuration and applies it.
WithFormatter allows setting the format to `text`, `color`, `json`, `json-pretty` or `plain`.
WithLogLevel is used to set the log level when defaulting to `info` is not wanted.
WithOutput configures the writer used to write logs to.
WithOutputStr allows customization of the sink of the logger.
WithSetReportCaller configures the logrus logger SetReportCaller.

# Structs

Config defines all the configurable options for the logrus logger.

# Type aliases

Option will configure a new logrus Logger.