log
log copied to clipboard
Can i set time format , instead of just the time passed since beginning of execution.
Just like :
// init log lib setting
logFormatter := new(log.TextFormatter)
logFormatter.TimestampFormat = "2006-01-02 15:04:05"
logFormatter.FullTimestamp = true
log.SetFormatter(logFormatter)
Not at the moment, might have to copy/paste the implementation and change whatever you'd like