logger

package
v0.0.0-...-c4db811 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

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

Debugf logs an Debug message. (IF Env DEBUG == true)

func Debugln

func Debugln(v ...interface{})

Debugln prints an Debug with a new line at end. (IF Env DEBUG == true)

func Errorf

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

Errorf logs an Error if even.

func Errorln

func Errorln(v ...interface{})

Errorln prints an Error + add a new Line.

func Infof

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

Infof formats and sends an Info to std out or file to log.

func Infoln

func Infoln(v ...interface{})

Infoln sends an Info to std out or file to log.

func OnlyASCII

func OnlyASCII(s string) string

OnlyASCII = Fix for console exploit.

func ToInterface

func ToInterface(i ...interface{}) []interface{}

ToInterface converts anything to a Interface Array.

Types

This section is empty.

Jump to

Keyboard shortcuts

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