Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetPrinter ¶
func SetPrinter(p Printer)
Types ¶
type DualWriter ¶
type DualWriter struct {
// contains filtered or unexported fields
}
func NewDualWriter ¶
func (*DualWriter) Printf ¶
func (dw *DualWriter) Printf(msg string, args ...any)
func (*DualWriter) Println ¶
func (dw *DualWriter) Println(args ...any)
type Printer ¶
func CurrentPrinter ¶
func CurrentPrinter() Printer
type StandardPrinter ¶
type StandardPrinter struct{}
func (*StandardPrinter) Printf ¶
func (sp *StandardPrinter) Printf(msg string, args ...any)
func (*StandardPrinter) Println ¶
func (sp *StandardPrinter) Println(args ...any)
Click to show internal directories.
Click to hide internal directories.