logger

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug logs a message at level Debug to stdout.

func Error

func Error(args ...interface{})

Error logs a message at level Error to stderr.

func Fatal

func Fatal(args ...interface{})

Fatal logs a message at level Fatal to stderr then the process will exit with status set to 1.

func Info

func Info(args ...interface{})

Info logs a message at level Info to stdout.

func Panic

func Panic(args ...interface{})

Panic logs a message at level Panic to stderr; calls panic() after logging.

func SetLevelDebug

func SetLevelDebug()

SetLevelDebug sets the standard logger level to Debug

func SetLevelInfo

func SetLevelInfo()

SetLevelInfo sets the standard logger level to Info

func Trace

func Trace(args ...interface{})

Trace logs a message at level Trace to stdout.

func Warn

func Warn(args ...interface{})

Warn logs a message at level Warn to stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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