go.astrophena.name/base Module
Base Go packages for my projects.
package logger
import "go.astrophena.name/base/logger"
Package logger provides a basic logger type.
Index
Types
type Logf
type Logf func(format string, args ...any)
Logf is a simple printf-like logging function.
func (Logf) Write
func (f Logf) Write(p []byte) (n int, err error)
Write implements the io.Writer interface.