https://github.com/kataras/pio
Low-level package that provides an easy way to centralize different output targets. Supports colors and text decoration to all popular terminals
https://github.com/kataras/pio
go golang io logger modular pio printer
Last synced: 9 months ago
JSON representation
Low-level package that provides an easy way to centralize different output targets. Supports colors and text decoration to all popular terminals
- Host: GitHub
- URL: https://github.com/kataras/pio
- Owner: kataras
- License: bsd-3-clause
- Created: 2017-07-25T18:33:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T00:38:48.000Z (about 1 year ago)
- Last Synced: 2025-08-13T15:53:49.730Z (10 months ago)
- Topics: go, golang, io, logger, modular, pio, printer
- Language: Go
- Homepage:
- Size: 67.4 KB
- Stars: 20
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# 💊 PIO
PIO [_Pill for Input/Output_] tries to cure headaches by solving problems where [go](https://golang.org) applications use different kinds of print targets or even loggers.
[](https://github.com/kataras/pio/actions)
[](http://goreportcard.com/report/kataras/pio)
[](https://pkg.go.dev/github.com/kataras/pio)
[](https://github.com/kataras/pio/issues?q=is%3Aopen+is%3Aissue)
[](https://github.com/kataras/pio/issues?q=is%3Aissue+is%3Aclosed)
- it can combine all your loggers as one
- it can scan from any source and print
- opossite is possible too, it use one or more sources to output when printing
Navigate through [_examples](_examples/) and [integrations](_examples/integrations/) to learn if can cure yours too.
### 🚀 Installation
The only requirement is the [Go Programming Language](https://go.dev/dl/).
```bash
$ go get github.com/kataras/pio
```
> PIO is built on top of the standard library, it has zero external dependencies.
### 👥 Contributing
If you find that something is not working as expected please open an [issue](https://github.com/kataras/pio/issues).
If you have any previous experience on this field your [PR](https://github.com/kataras/pio/pulls) means gold to me!
### 📦 Projects using PIO
| Package | Author | Description |
| -----------|--------|-------------|
| [golog](https://github.com/kataras/golog) | [Gerasimos Maropoulos](https://github.com/kataras) | Simple, fast and easy-to-use level-based logger written entirely in [GoLang](https://golang.org). |
> Do not hesitate to put your package on this list via [PR](https://github.com/kataras/pio/pulls)!