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
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
glog uses a fixed format for the prefix that is attached to log messages, which seems to follow what Google's internal tools expect (#229 (comment)).
However, other users of glog could need to integrate with tools that expect other formats, or would like to make the information more human-friendly (for example, by showing the full names of log levels instead of their initials), or might want to display the date in other timezones. They might also want to replace another logging library that has its own format and start using glog.
It would be great if glog allowed users of the library to specify their own prefix format. The current format would remain the default, and if the implementation is gated behind a compile-time flag, there wouldn't be any penalty for users that do not need the functionality.
RippeR37, cheshirekow, aesophor, jeremiahbonney, elftech and 2 morejeremiahbonneyaesophor and itay