-
Notifications
You must be signed in to change notification settings - Fork 51
Logger enhancements #688
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
Logger enhancements #688
Conversation
| } | ||
|
|
||
| namespace { | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just utilize utilities from boost and not have an extra method? did you check boost? e.g. https://stackoverflow.com/questions/2492775/get-local-time-with-boost The boost::posix_time::second_clock::local_time() uses localtime_r
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We decided to do this later before 4.0 release. An issue will be opened for this.
|
Windows test PASSed. |
|
Linux test PASSed. |
|
Linux test PASSed. |
ihsandemir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the issue is opened for localtime all is OK.
|
Windows test PASSed. |
|
Linux test PASSed. |
|
Windows test PASSed. |
|
related to #692 |
This PR includes some enhancements for the logging implementation:
client::version()API instead of theHAZELCAST_VERSIONmacro in the default formatter. Fixes Logging comment #682.logger.hlocaltime. It is not guaranteed to be thread-safe. Instead, uselocaltime_sorlocaltime_rdepending on the platform.