log

package
v0.0.0-...-1f6221e Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = glog.Error

Error logs to the INFO, WARNING, and ERROR logs. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.

View Source
var ErrorDepth = glog.ErrorDepth

ErrorDepth logs to the INFO, WARNING, and ERROR logs, ofsetting the caller's stack frame by 'depth'

View Source
var Errorf = glog.Errorf

Errorf logs to the INFO, WARNING, and ERROR logs. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.

View Source
var Errorln = glog.Errorln

Errorln logs to the INFO, WARNING, and ERROR logs. Arguments are handled in the manner of fmt.Println; a newline is appended if missing.

View Source
var Fatal = glog.Fatal

Fatal logs to the INFO, WARNING, ERROR, and FATAL logs, including a stack trace of all running goroutines, then calls os.Exit(255). Arguments are handled in the manner of fmt.Print; a newline is appended if missing.

View Source
var FatalDepth = glog.FatalDepth

FatalDepth logs to the INFO, WARNING, and ERROR, and FATAL logs, ofsetting the caller's stack frame by 'depth', then calls os.Exit(255).

View Source
var Fatalf = glog.Fatalf

Fatalf logs to the INFO, WARNING, ERROR, and FATAL logs, including a stack trace of all running goroutines, then calls os.Exit(255). Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.

View Source
var Fatalln = glog.Fatalln

Fatalln logs to the INFO, WARNING, ERROR, and FATAL logs, including a stack trace of all running goroutines, then calls os.Exit(255). Arguments are handled in the manner of fmt.Println; a newline is appended if missing.

View Source
var Info = glog.Info

Info logs to the INFO log. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.

View Source
var InfoDepth = glog.InfoDepth

InfoDepth logs to the INFO log, ofsetting the caller's stack frame by 'depth'

View Source
var Infof = glog.Infof

Infof logs to the INFO log. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.

View Source
var Infoln = glog.Infoln

Infoln logs to the INFO log. Arguments are handled in the manner of fmt.Println; a newline is appended if missing.

View Source
var V = glog.V

V wraps glog.V. See that documentation for details.

View Source
var Warning = glog.Warning

Warning logs to the INFO and WARNING logs. Arguments are handled in the manner of fmt.Print; a newline is appended if missing.

View Source
var WarningDepth = glog.WarningDepth

WarningDepth logs to the INFO and WARNING logs, ofsetting the caller's stack frame by 'depth'

View Source
var Warningf = glog.Warningf

Warningf logs to the INFO and WARNING logs. Arguments are handled in the manner of fmt.Printf; a newline is appended if missing.

View Source
var Warningln = glog.Warningln

Warningln logs to the INFO and WARNING logs. Arguments are handled in the manner of fmt.Println; a newline is appended if missing.

Functions

func FatalOnPanic

func FatalOnPanic()

FatalOnPanic recovers from a panic and exits the process with a Fatal log. This is useful for avoiding a panic being caught through a CGo exported function or preventing HTTP handlers from recovering panics and ignoring them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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