Dominik Grabiec
Dominik Grabiec
The `IsDebuggerPresent` function checks the [PEB structure](https://docs.microsoft.com/en-us/windows/win32/api/winternl/ns-winternl-peb) in the process if the flag is set. This is pretty much the same as checking a global variable in your own code...
* The simplest way to implement this for someone using the library would be to create a new class deriving from the existing `msvc_sink` and put the check in that....
Sorry for the delayed response, I don't really have any real numbers to show regarding performance. I just recall when others have tested the impact of always logging to `OutputDebugString`,...
If you use vcpkg then this patch is being applied care of https://github.com/microsoft/vcpkg/issues/27167
@danyhm That's a different error that you have. Maybe you can try https://github.com/GerHobbelt/clipp as that seems to be more up to date.
The original maintainer doesn't seem to have the time to update it, perhaps check out https://github.com/GerHobbelt/clipp which seems more up to date with community fixes.
I could argue that this is fixing a bug with UTF8 character output in the Windows console. Where should this work be done then if not in this branch? What...
The fix is behind `#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT` in the same way that the code in msvc_sink is structured, so that's why I thought it was safe to implement this way. If...