issues
search
projectdiscovery
/
gologger
A simple layer for leveled logging in go
MIT License
75
stars
24
forks
source link
Add support for optional timestamp addition to debug logs
#29
Closed
xm1k3
closed
1 year ago
xm1k3
commented
1 year ago
Note:
By default, the -timestamp flag is set to false in the
gologger package
.
You can use the
gologger.SetTimestamp
function to set the
-timestamp
flag to either true or false.
The
gologger package
will automatically use timestamps in log events based on the value of the
-timestamp
flag.
Note:
gologger package
.gologger.SetTimestamp
function to set the-timestamp
flag to either true or false.gologger package
will automatically use timestamps in log events based on the value of the-timestamp
flag.