Skip to content
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

Timestamp Log Detailing #14

Merged
merged 5 commits into from
Jan 9, 2014
Merged

Conversation

kyuhojeong
Copy link
Contributor

Timestamp is added at the head of each log line.
I abandoned the previous apprach which replacing the talk_base
logging class.
This time, I used macro to replace LOG_TS with LOG with timestap.
To the best of my knowledge, libjingle does not provide wall time
clock utils, but only process or O/S clock tick. So CurrentTime class is
added in new file tincan_utils.

Timestamp is added at the head of each log line.
I abandoned the previous apprach which replacing the talk_base
logging class.
This time, I used macro to replace LOG_TS with LOG with timestap.
To the best of my knowledge, libjingle does not provide wall time
clock utils, but only process or O/S clock tick. So CurrentTime class is
added in new file tincan_utils.
All LOG_F is changed to LOG_TS
*/

#include "tincan_utils.h"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put if defined linux here in order to disable for Windows, if not it will not compile in windows because windows does not get gettimeofday

@kyuhojeong
Copy link
Contributor Author

if defined(LINUX) is added to prevent windows compilation.

pstjuste added a commit that referenced this pull request Jan 9, 2014
@pstjuste pstjuste merged commit 76870af into ipop-project:master Jan 9, 2014
@kyuhojeong kyuhojeong deleted the timestamp branch February 1, 2014 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants