Documentation ¶
Overview ¶
Package log contains logging utilities used by the ALB Ingress controller.
Index ¶
- Constants
- func Debugf(format, ingressName string, args ...interface{})
- func Errorf(format, ingressName string, args ...interface{})
- func Infof(format, ingressName string, args ...interface{})
- func Prettify(i interface{}) string
- func SetLogLevel(level string)
- func Warnf(format, ingressName string, args ...interface{})
Constants ¶
View Source
const ( // ERROR is for error log levels ERROR = iota // WARN is for warning log levels WARN // INFO is for info log levels INFO // DEBUG is for debug log levels DEBUG )
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format, ingressName string, args ...interface{})
Debugf will print debug messages if debug logging is enabled
func Errorf ¶
func Errorf(format, ingressName string, args ...interface{})
Errorf will print error level messages
func Infof ¶
func Infof(format, ingressName string, args ...interface{})
Infof will print info level messages
func Prettify ¶
func Prettify(i interface{}) string
Prettify uses awsutil.Prettify to print structs, but also removes '\n' for better logging.
func SetLogLevel ¶
func SetLogLevel(level string)
SetLogLevel configures the logging level based off of the level string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.