logger

package
v0.0.0-...-8e942fd Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, params ...interface{})

Debug log - in magenta, visible only with flag -d

func Error

func Error(msg string, params ...interface{})

Error - message in red, exit if flag -e is set

func Fatal

func Fatal(msg string, params ...interface{})

Fatal - message in red, end program

func Info

func Info(msg string, params ...interface{})

Info - message in green

func InitLogger

func InitLogger(exit bool, dbg bool)

InitLogger set logger flags exitOnError and debug

func Warn

func Warn(msg string, params ...interface{})

Warn - message in yellow

Types

This section is empty.

Jump to

Keyboard shortcuts

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