Question about logging and qDebug() #170
Replies: 4 comments
-
|
You mean the date and time? Or do you mean the first line? |
Beta Was this translation helpful? Give feedback.
-
|
I call the date,time,type "QT message handler:" the header of the line. I hope they can be turned off. There is more the than the actual useful debug info. |
Beta Was this translation helpful? Give feedback.
-
|
Never mind I think I found the code in main that I can ifdef out for me. |
Beta Was this translation helpful? Give feedback.
-
|
Try adding Documentation is here https://github.com/gabime/spdlog/wiki/3.-Custom-formatting. The advantage of doing this I see is that you will continue to run spdlog and if something breaks in logging process you will notice. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is an example of how qDebug text is shown when I'm debugging code in Qt IDE. It has a header that just gets in my way. Is there anyway I can prevent that?
[2024-11-13 15:45:55.123] [info] DFTFringe Dale7.3.3 started
[2024-11-13 15:45:55.139] [debug] QT message handler: init center 4
[2024-11-13 15:45:55.180] [debug] QT message handler: main2
Beta Was this translation helpful? Give feedback.
All reactions