Skip to content

pobyzaarif/go-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO-LOGGER

go-logger is a custom log using gommon/log 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