log

package
v1.8.27-c4dt Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CallDepth is set to 1 in order to influence to reported line number of
	// the log message with 1 skipped stack frame of calling l.Output()
	CallDepth = 1
)

Variables

This section is empty.

Functions

func Crit

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

Crit is a convenient alias for log.Crit with stats

func Debug

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

Debug is a convenient alias for log.Debug with stats

func Error

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

Error is a convenient alias for log.Error with stats

func Info

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

Info is a convenient alias for log.Info with stats

func Trace

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

Trace is a convenient alias for log.Trace with stats

func Warn

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

Warn is a convenient alias for log.Warn with stats

Types

This section is empty.

Jump to

Keyboard shortcuts

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