log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *log.Logger

Logger is an optional custom logger.

Functions

func Fatal

func Fatal(args ...interface{})

Fatal writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.

func Fatalf

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

Fatalf writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.

func Print

func Print(args ...interface{})

Print writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.

func Printf

func Printf(format string, args ...interface{})

Printf writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.

func Println

func Println(args ...interface{})

Println writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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