https://github.com/wader/logutils
Various utils to be used with the go log package etc
https://github.com/wader/logutils
golang logging
Last synced: over 1 year ago
JSON representation
Various utils to be used with the go log package etc
- Host: GitHub
- URL: https://github.com/wader/logutils
- Owner: wader
- License: mit
- Created: 2019-07-24T00:10:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T14:41:43.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T19:46:44.432Z (over 1 year ago)
- Topics: golang, logging
- Language: Go
- Homepage: https://pkg.go.dev/github.com/wader/logutils?tab=doc
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## logutils
Various utils to be used with the log package etc.
[`ChanPrinter`](chanprinter) is a Printer that prints to a string channel
[`LossyChanPrinter`](lossychanprinter) is a Printer that prints lossely to a string channel
[`MultiPrinter`](multiprinter) is a Printer that prints to many Printers
[`NopPrinter`](nopprinter) is a Printer that does nothing
[`PrefixPrinter`](prefixprinter) is a Printer that prints with a prefix added
[`PrinterFunc`](printerfunc) is a Printer that prints using a function (similar to http.HandlerFunc)
[`PrintWriter`](printwriter) is a io.WriteCloser that print each lines with optional prefix