projectdiscovery / gologger

A simple layer for leveled logging in go
MIT License
75 stars 24 forks source link

add timestamp option #18

Closed parrasajad closed 1 year ago

parrasajad commented 1 year ago

example use:

gologger.Debug().TimeStamp().Msg("test")

output:

[DBG] [2022-09-19T15:07:57+05:30] test
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication