-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add timezone info for log entries and log filename #212
Comments
You can't, because Boost.DateTime currently does not provide a way to obtain the current timezone from the system. I'm actually not sure there is a more or less standard way to do this. If you have a timezone through some external means, you could create an attribute that generates There is no workaround for file names. This was already reported in #210. |
I tried adding the timezone in the LOG macro which was written by you in 2016. But it outputs the timezone after severity
|
I didn't mean to modify the logging macro, I meant to add your own attribute for timestamps instead of |
Hi, how can i add timezone info for log entries:
% expr::attr< boost::posix_time::ptime >("TimeStamp")
and for log filename:
Thanks
log entries:
filename pattern:
The text was updated successfully, but these errors were encountered: