Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pobyzaarif/go-logger
custom golang logger
https://github.com/pobyzaarif/go-logger
database-logging golang-library golang-logger golang-logging logger logger-middleware
Last synced: 9 days ago
JSON representation
custom golang logger
- Host: GitHub
- URL: https://github.com/pobyzaarif/go-logger
- Owner: pobyzaarif
- Created: 2021-12-07T13:52:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:41:13.000Z (4 months ago)
- Last Synced: 2024-08-13T11:27:57.952Z (4 months ago)
- Topics: database-logging, golang-library, golang-logger, golang-logging, logger, logger-middleware
- Language: Go
- Homepage:
- Size: 91.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GO-LOGGER
go-logger is a custom log using [gommon/log](https://github.com/labstack/gommon) as a base log that can use in your golang project. the aim is to cover all logs (in common use such as inbound/outbound network log, query DB, error event, etc) with standard JSON log and ease for another engine to consume it. so we can focus in business logic and system flow. just tell the Infrastructure/DevOps team "pssst bro, pls take my app log, its shows up in stdout, then throw it to something, its trash but can be rare in some cases ;)".## Features
For now, it's only integrated some popular go packages (from my own perspective cause in many cases I usually use them) such as echo v4, gorm, mongo-driver, and http.## Implementation
Sample project that implements go-logger [POS_LITE](https://github.com/pobyzaarif/pos_lite)