log

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package log includes logging utilities

Index

Constants

This section is empty.

Variables

View Source
var (
	// NoColor controls if log will be colored or not
	NoColor bool
	// Prefix is the program name, will be outputted before info messages
	Prefix string
)

Functions

func Done

func Done() error

Done function prints 'done' and new line

func Drop

func Drop()

Drop function prints new line

func Error

func Error(err error)

Error function prints given error

func ExtraInfo

func ExtraInfo(info string)

ExtraInfo prints given info with indent and without colors or prefix

func Failed

func Failed(err error) error

Failed function prints 'failed' and new line

func Info

func Info(info string)

Info function prints given string

func Skipped

func Skipped() error

Skipped function prints 'skipped' and new line

Types

This section is empty.

Jump to

Keyboard shortcuts

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