log

package
v1.8.14 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: GPL-3.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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