console

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Stderr = log.New(New(os.Stderr))

Stderr is a console log singleton that writes to stderr

Functions

func Debug

func Debug(message string, args ...interface{})

Debug message is written to the console

func Error

func Error(message string, args ...interface{})

Error message is written to the console

func Info

func Info(message string, args ...interface{})

Info message is written to the console

func New

func New(w io.Writer) log.Handler

New console handler

func Notice

func Notice(message string, args ...interface{})

Notice message is written to the console

func Warn

func Warn(message string, args ...interface{})

Warn message is written to the console

Types

This section is empty.

Jump to

Keyboard shortcuts

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