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

Provide an optional timestamp? #90

Closed
MrHate opened this issue Feb 23, 2020 · 1 comment
Closed

Provide an optional timestamp? #90

MrHate opened this issue Feb 23, 2020 · 1 comment

Comments

@MrHate
Copy link
Contributor

MrHate commented Feb 23, 2020

How about providing a macro name to switch whether to print timestamp before each line?

just like:

#define DBG_MACRO_TIMESTAMP
#include <dbg.h>

then

(13:18:53)[demo.cpp:34 (main)] test_int = 42 (int)
@MrHate MrHate mentioned this issue Feb 23, 2020
@sharkdp
Copy link
Owner

sharkdp commented Mar 9, 2020

closed via #91 by @MrHate

@sharkdp sharkdp closed this as completed Mar 9, 2020
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

No branches or pull requests

2 participants