logger

package
v0.0.0-...-036eace Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log *logger

Log logger implementation

Functions

func Crit

func Crit(msg string, ctx ...interface{})

Crit logs a message (with optional context) at the CRITICAL log level

func Critf

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

Critf logs at the CRITICAL log level using a standard printf format string

func Debug

func Debug(msg string, ctx ...interface{})

Debug logs a message (with optional context) at the DEBUG log level

func Debugf

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

Debugf logs at the DEBUG log level using a standard printf format string

func Error

func Error(msg string, ctx ...interface{})

Error logs a message (with optional context) at the ERROR log level

func Errorf

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

Errorf logs at the ERROR log level using a standard printf format string

func Info

func Info(msg string, ctx ...interface{})

Info logs a message (with optional context) at the INFO log level

func Infof

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

Infof logs at the INFO log level using a standard printf format string

func Warn

func Warn(msg string, ctx ...interface{})

Warn logs a message (with optional context) at the WARNING log level

func Warnf

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

Warnf logs at the WARNING log level using a standard printf format string

Types

This section is empty.

Jump to

Keyboard shortcuts

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