log

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Info = iota
	Warn
	Error
)

Variables

View Source
var Output io.Writer = os.Stdout

Functions

func Digits

func Digits(x int) int

Digits returns the number of digits in the decimal (base 10) representation of the absolute value of x.

func DigitsSigned

func DigitsSigned(x int) int

DigitsSigned returns the number of digits in the decimal (base 10) representation of the absolute value of x (plus one if x is negative).

func Msg

func Msg(level int, prompt string, format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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