log

package
v0.0.0-...-7b93b78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log contains logging utilities used by the ALB Ingress controller.

Index

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

func Warnf

func Warnf(format, ingressName string, args ...interface{})

Warnf will print warning level messages

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL