log

package
v0.1.2-0...-99e1973 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPostNotFound = errors.New("Post not found.")
)

TODO: this is never used?

Functions

func Errorln

func Errorln(s string, p ...interface{})

Errorln logs the message to stderr

func ErrorlnQuit

func ErrorlnQuit(s string, p ...interface{})

ErrorlnQuit logs the message to stderr and exits with an error code.

func Info

func Info(c *cli.Context, s string, p ...interface{})

Info logs general diagnostic messages, shown only when the -v or --verbose flag is provided.

func InfolnQuit

func InfolnQuit(s string, p ...interface{})

InfolnQuit logs the message to stderr and exits normally (without an error).

Types

This section is empty.

Jump to

Keyboard shortcuts

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