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

Make debug logs really when debugging #14

Closed
abumq opened this issue Jan 16, 2013 · 0 comments
Closed

Make debug logs really when debugging #14

abumq opened this issue Jan 16, 2013 · 0 comments
Assignees
Milestone

Comments

@abumq
Copy link
Owner

abumq commented Jan 16, 2013

Currently, debugging is set by developer (using _ENABLE_DEBUG_LOGS) and doesn't identify if really 'Debugging' using gdb or IDEs.

Make this real. Use _ENABLE_DEBUG_LOGS value something like (in line 175 [https://github.com/mkhan3189/EasyLoggingPP/blob/master/easylogging%2B%2B.h#L175 ]):

#define _DEBUG_LOG   (defined(_DEBUG) /* VS */  || defined(/* gdb debug macro */)) &&   (defined(_ENABLE_DEBUG_LOGS) && !defined(_DISABLE_DEBUG_LOGS)) /* for enable */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant