log

package
v0.0.0-...-8ae11dc Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()
View Source
var Discard = NewWriter(io.Discard)

Functions

func FileWriter

func FileWriter(path string) (io.WriteCloser, error)

func Println

func Println(msg string, args ...any)

Types

type Logger

type Logger interface {
	Log(msg string, args ...any)
	New(args ...any) Logger
}

func New

func New(args ...any) Logger

func NewWriter

func NewWriter(w io.Writer, args ...any) Logger

type Option

type Option func(*logger)

Jump to

Keyboard shortcuts

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