simplelog

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(v ...interface{})

Error prints `v` into standard output (via log) with a red prefix "error:".

func ErrorD

func ErrorD(v ...interface{})

ErrorD prints `v` into standard output (via log) with a red prefix "error:" along with a stack trace.

func Errorf

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

Errorf is the formatted version of Error().

func Info

func Info(v ...interface{})

Info prints `v` into standard output (via log) with a green prefix "info:".

func Infof

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

Infof is the formatted version of Info().

Types

This section is empty.

Jump to

Keyboard shortcuts

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