log

package
v0.6.0-alpha.4.gopaths Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: MPL-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

package log

Log levels

Debug

Debug outputs a literal debug message. Debug messages are useful for tracing execution and diagnosing unintended error cases.

Notice

Notice outputs a literal notice message. Notices are non-error events that the user should be informed of.

Warning

Warnings are non-fatal error events.

Fatal

Fatal errors are non-recoverable, and cause an os.Exit(1).

Panic

Panics are errors that should never happen and indicate that something has gone terribly wrong. They are akin to assertion failures.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logging.MustGetLogger("fossa-cli")

Functions

func Initialize added in v0.6.1

func Initialize(interactive, debug bool)

Initialize sets up logging modes.

func Print added in v0.6.1

func Print(args ...interface{})

Print outputs a literal message to STDOUT.

func Printf added in v0.6.1

func Printf(format string, args ...interface{})

Printf outputs a formatted message to STDOUT.

func ShowSpinner added in v0.6.1

func ShowSpinner(message string)

ShowSpinner shows a progress spinner with a message.

func StopSpinner added in v0.6.1

func StopSpinner()

StopSpinner stops a progress spinner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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