log

package
v0.0.0-...-652815c Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Level int = 1

Level is the log level 0: silent - do not log 1: normal - show everything except debug and warn 2: verbose - show everything except debug 3: very verbose - show everything

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func HTTP

func HTTP(args ...interface{})

func HTTPf

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

func Info

func Info(args ...interface{})

func Infof

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

func Print

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

func Printf

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

func SetOutput

func SetOutput(w io.Writer)

SetOutput sets the output of the logger

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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