You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to log the timestamp in a simpler to parse (and sort) format - would you accept a pull request that adds another field to the LogProcessor for time format and then calls time.Format() with that string?
I was thinking that providing an empty string (or the string "default" or somthing) would use the current behavior with Sprintf, since apparently that's slightly faster than time.Format
Looks like the time format is hardcoded in the Process() function https://github.com/moovweb/golog/blob/master/processor.go#L52-52
I'd like to log the timestamp in a simpler to parse (and sort) format - would you accept a pull request that adds another field to the LogProcessor for time format and then calls
time.Format()with that string?I was thinking that providing an empty string (or the string "default" or somthing) would use the current behavior with
Sprintf, since apparently that's slightly faster thantime.Format