Help us shape the future of Go! Take the 2026 Go Developer Survey

logutils

package module
v0.0.0-...-6d88a31 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 0 Imported by: 0

README

logutils

Various utils to be used with the log package etc.

ChanPrinter is a Printer that prints to a string channel
LossyChanPrinter is a Printer that prints lossely to a string channel
MultiPrinter is a Printer that prints to many Printers
NopPrinter is a Printer that does nothing
PrefixPrinter is a Printer that prints with a prefix added
PrinterFunc is a Printer that prints using a function (similar to http.HandlerFunc)
PrintWriter is a io.WriteCloser that print each lines with optional prefix

Documentation

Overview

Package logutils has various utils to be used with the go log package etc

Directories

Path Synopsis
Package chanprinter is a Printer that prints to a string channel
Package chanprinter is a Printer that prints to a string channel
Package lossychanprinter is a Printer that prints lossely to a string channel
Package lossychanprinter is a Printer that prints lossely to a string channel
Package multiprinter is a Printer that prints to many Printers
Package multiprinter is a Printer that prints to many Printers
Package nopprinter is a Printer that does nothing
Package nopprinter is a Printer that does nothing
Package prefixprinter is a Printer that prints with a prefix added
Package prefixprinter is a Printer that prints with a prefix added
Package printerfunc is a Printer that prints using a function (similar to http.HandlerFunc)
Package printerfunc is a Printer that prints using a function (similar to http.HandlerFunc)
Package printwriter is a io.WriteCloser that print each lines with optional prefix.
Package printwriter is a io.WriteCloser that print each lines with optional prefix.

Jump to

Keyboard shortcuts

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