Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/desperatee/go-log
Simple Golang logger package with multi-platform color support, with 3 different levels of logs (info, warn, error)
https://github.com/desperatee/go-log
cli console go golang log logger logging terminal
Last synced: 29 days ago
JSON representation
Simple Golang logger package with multi-platform color support, with 3 different levels of logs (info, warn, error)
- Host: GitHub
- URL: https://github.com/desperatee/go-log
- Owner: desperatee
- Created: 2022-11-21T23:30:25.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T16:51:13.000Z (over 1 year ago)
- Last Synced: 2024-08-03T23:29:46.535Z (4 months ago)
- Topics: cli, console, go, golang, log, logger, logging, terminal
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-golang-repositories - go-log - platform color support, with 3 different levels of logs (info, warn, error) (Repositories)
README
# go-log
Simple Golang logger package with multi-platform color support, with 3 different levels of logs (info, warn, error)
# How to use
```go
package mainimport "github.com/desperatee/go-log"
func main() {
log.Log(log.Info, "Hello world!")
}