https://github.com/adalkiran/go-colorful-logging
A simple Go library for colorful logging output.
https://github.com/adalkiran/go-colorful-logging
console console-colors go golang golang-library logging logging-library
Last synced: 4 months ago
JSON representation
A simple Go library for colorful logging output.
- Host: GitHub
- URL: https://github.com/adalkiran/go-colorful-logging
- Owner: adalkiran
- License: apache-2.0
- Created: 2022-07-24T22:32:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T15:36:32.000Z (about 2 years ago)
- Last Synced: 2024-12-27T14:29:48.288Z (5 months ago)
- Topics: console, console-colors, go, golang, golang-library, logging, logging-library
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **go-colorful-logging**
[](https://www.linkedin.com/in/alper-dalkiran/)
[](https://twitter.com/aalperdalkiran)

A simple Go library for colorful logging output.
## **WHY THIS PROJECT?**
This project is a spin-off of my [WebRTC Nuts and Bolts
](https://github.com/adalkiran/webrtc-nuts-and-bolts) project's logging part. In the main project, a logging mechanism that supports different colored outputs and shows logger part name (e.g. APP, WS, DTLS, SRTP, etc...) was needed.## **INSTALLATION**
```sh
go get github.com/adalkiran/go-colorful-logging
```## **EXAMPLE OUTPUT**
An output screenshot from [WebRTC Nuts and Bolts](https://github.com/adalkiran/webrtc-nuts-and-bolts) project, which the same logging system was applied on:

## **EXAMPLE**You can find example projects made using go-colorful-logging and [Inventa](https://github.com/adalkiran/go-inventa) at [https://github.com/adalkiran/inventa-examples](https://github.com/adalkiran/inventa-examples).
In this inventa-examples repo, there are multiple projects. The ones which are developed using Go, use go-colorful-logging library for logging.
## **LICENSE**
go-colorful-logging is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full license text.