| 7 | #include "log.hpp" |
| 8 | |
| 9 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID) noexcept |
| 10 | { |
| 11 | switch (fdwReason) |
| 12 | { |
| 13 | case DLL_PROCESS_ATTACH: |
| 14 | DisableThreadLibraryCalls(hinstDLL); |
| 15 | break; |
| 16 | |
| 17 | case DLL_PROCESS_DETACH: |
| 18 | spdlog::shutdown(); |
| 19 | break; |
| 20 | } |
| 21 | |
| 22 | return TRUE; |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected