Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 15 hours 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

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 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)!