It seems that there is no way to include the timezone information in
the logging data
printed by the log.Print family of functions.
This poses some mental overhead when comparing log files produced by go binaries
that uses the standard log package from different machines running in different
timezones - the timestamp is in each hosts' timezone but never stated
I don't want to be forced to use a different logging package just to
be able to disambiguate
Having a log.Ltimezone const alongside log.Ldate and log.Ltime would
help, and maybe log.Lutc to indicate that we want the timestamp to be
in UTC instead of the local timezone.
I think those would be good improvement over the current limitations.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.