So long story short, application is crashing. I'm trying to use spdlog to inspect the situation but looks like application crashes before log file is saved, so there is no log.
Thinking about it I can imagine this actually is normal behavior of spdlog and perhaps same will happen with other loggers.
So how is this kind of situation supposed to be handled? Is there anything the logger can do in this scenario? Or should I, first of all, avoid the crash (before trying to use a logger)?