Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StderrAdapter ¶
StderrAdapter returns a logger.Adapter implementation which prints log messages to stderr.
func StdoutAdapter ¶
StdoutAdapter returns a logger.Adapter implementation which prints log messages to stdout.
Types ¶
type WriterPrinter ¶
WriterPrinter implements printer.Printer by adapting io.Writer. Should be used with care, because it discards all errors returned during writing.
func (WriterPrinter) Println ¶
func (p WriterPrinter) Println(skipCallerFrames int, msg string)
Println prints the msg using io.Writer. Errors are discarded.
Click to show internal directories.
Click to hide internal directories.