Assuming Windows has a C or C++ API to write to that, then just calling that should be suffiicient.
Cheers,
_
Assuming Windows has a C or C++ API to write to that, then just calling that should be suffiicient.
Cheers,
_
Thanks. I ended up just using the QMessageLogger as this does output to the standard debugger for Windows and that will suffice. One additional question though. The QMessageLogContext has "function" as a property which is nice to include, but I was wondering, is there was a way to also derive the arguments that were passed into the function when it was called?
No, you'll have to log arguments manually.
The arguments could be any type and require type specific handling to get something suitable for logging.
Cheers,
_
brixel (4th May 2016)
Bookmarks