console

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomPrinter

type CustomPrinter struct{}

CustomPrinter implements the console.Printer interface without timestamps, just plain output

func NewCustomPrinter

func NewCustomPrinter() *CustomPrinter

NewCustomPrinter creates a new custom printer instance

func (*CustomPrinter) Error

func (p *CustomPrinter) Error(s string)

Error prints to stderr without timestamp

func (*CustomPrinter) Log

func (p *CustomPrinter) Log(s string)

Log prints to stdout without timestamp

func (*CustomPrinter) Warn

func (p *CustomPrinter) Warn(s string)

Warn prints to stderr without timestamp

Jump to

Keyboard shortcuts

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