console

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug message is written to the console

func Err added in v0.2.6

func Err(err error, msg string, args ...interface{})

Err message is written to the console

func Error

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

Error message is written to the console

func Field added in v0.2.6

func Field(key string, value interface{}) log.Log

Return a logger with a field

func Info

func Info(msg 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(msg string, args ...interface{})

Notice message is written to the console

func Warn

func Warn(msg 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