https://github.com/senior-sigan/prettylog
Pretty Dummy Json Log Printer (for Zap)
https://github.com/senior-sigan/prettylog
cli logging pretty-print
Last synced: 2 months ago
JSON representation
Pretty Dummy Json Log Printer (for Zap)
- Host: GitHub
- URL: https://github.com/senior-sigan/prettylog
- Owner: senior-sigan
- License: mit
- Created: 2024-05-08T11:49:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T12:37:49.000Z (about 2 years ago)
- Last Synced: 2025-01-17T11:47:51.627Z (over 1 year ago)
- Topics: cli, logging, pretty-print
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDL: Pretty dummy json log Printer
I'm pretty dummy. I need my json logs to look nice.
Other loggers don't work with my json logs format.
So I copy-paste internet and make it go brrr...
Should be compatible with [Zap Logger](https://github.com/uber-go/zap). But i'm not sure.
## Usage
```shell
./your-programm | prettylog
```
In fish you have to use this `&|` for pipes.
## Installation
```shell
go install github.com/senior-sigan/prettylog@latest
```
Check that you have `go/bin` in your PATH