KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 15 forks source link

fix: flush spdlog messages also when logging to stderr #142

Closed smnppKDAB closed 1 month ago

smnppKDAB commented 1 month ago

The existing code was only enabling flush when logs are redirected to files. Without this, the relative order of the debug output from qWarnings() and from Message.log() wasn't preserved, making debugging difficult.