log

package
v0.0.0-...-6322789 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{}) (n int, err error)

Errorf print an error with a colored prefix. Errorln formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

func Errorln

func Errorln(a ...interface{})

Errorln formats using a colored prefix prior to its operands and writes to standard error. Spaces are always added between operands and a newline is appended.

func Infof

func Infof(format string, a ...interface{}) (n int, err error)

Infof print an info with a colored prefix. Errorln formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

func Infoln

func Infoln(a ...interface{})

Infoln formats using a colored prefix prior to its operands and writes to standard output. Spaces are always added between operands and a newline is appended.

func Warningf

func Warningf(format string, a ...interface{}) (n int, err error)

Warningf print an info with a colored prefix. Errorln formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

func Warningln

func Warningln(a ...interface{})

Warningln formats using a colored prefix prior to its operands and writes to standard output. Spaces are always added between operands and a newline is appended.

Types

This section is empty.

Jump to

Keyboard shortcuts

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