log

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugEnabled bool

DebugEnabled set to true to print debug message otherwise they are suppressed

Functions

func Actionf

func Actionf(format string, v ...interface{})

Actionf prints something with the ActionPrefix preprended

func Actionln

func Actionln(v ...interface{})

Actionln prints something with the ActionPrefix preprended

func Debugf

func Debugf(format string, v ...interface{})

Debugf logs a debug message to stdout. It's only shown if debugging is enabled.

func Debugln

func Debugln(v ...interface{})

Debugln logs a debug message to stdout. It's only shown if debugging is enabled.

func Errorf

func Errorf(format string, v ...interface{})

Errorf logs a message to stderr

func Errorln

func Errorln(v ...interface{})

Errorln logs a message to stderr

func Fatalf

func Fatalf(format string, v ...interface{})

Fatalf logs a message to stderr and terminates the application with an error

func Fatalln

func Fatalln(v ...interface{})

Fatalln logs a message to stderr and terminates the application with an error

func Infof

func Infof(format string, v ...interface{})

Infof logs a message to stdout

func Infoln

func Infoln(v ...interface{})

Infoln logs a message to stdout

Types

type S3Logger

type S3Logger struct{}

S3Logger is a logger compatible with the S3 package

func (*S3Logger) Log

func (l *S3Logger) Log(args ...interface{})

Log logs a debug message

Jump to

Keyboard shortcuts

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