Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T17:41:45.000Z (3 months ago)
- Last Synced: 2024-12-23T18:12:22.397Z (13 days ago)
- Topics: go, golang, io, logger, modular, pio, printer
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 21
- Watchers: 5
- 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.
[![build status](https://img.shields.io/github/actions/workflow/status/kataras/pio/ci.yml?style=flat-square)](https://github.com/kataras/pio/actions)
[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=flat-square)](http://goreportcard.com/report/kataras/pio)
[![godocs](https://img.shields.io/badge/online-documentation-0366d6.svg?style=flat-square)](https://pkg.go.dev/github.com/kataras/pio)
[![github issues](https://img.shields.io/github/issues/kataras/pio.svg?style=flat-square)](https://github.com/kataras/pio/issues?q=is%3Aopen+is%3Aissue)
[![github closed issues](https://img.shields.io/github/issues-closed-raw/kataras/pio.svg?style=flat-square)](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 printingNavigate 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)!