logger

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
	Println(v ...interface{})
	Text() string
}

A Logger represents a mechanism for logging. 🙃

func New

func New(writers ...io.Writer) Logger

New returns a Logger that writes to writers and an in-memory store for on-demand access to log entries via the Text() method.

Jump to

Keyboard shortcuts

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