slog

package module
v0.0.0-...-515a355 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2014 License: MIT Imports: 2 Imported by: 1

README

slog

Ultra simple + convenient logging library for Go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Fatal   = stdLog.Fatal
	Fatalf  = stdLog.Fatalf
	Fatalln = stdLog.Fatalln
	Panic   = stdLog.Panic
	Panicf  = stdLog.Panicf
	Panicln = stdLog.Panicln
	Prefix  = stdLog.Prefix
	Print   = stdLog.Print
	Printf  = stdLog.Printf
	Println = stdLog.Println
)

Functions

func Dump

func Dump(v ...interface{})

func FatalIf

func FatalIf(err error)

func PanicIf

func PanicIf(err error)

func PanicIff

func PanicIff(err error, template string, v ...interface{})

func SetPrefix

func SetPrefix(s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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