mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Heavily reduced string compares for coloring logs (the left overs require a dedicated hook, this is for the future) The new method uses a ImVec 4 constant containing the color obtained via a switch case by context, this is then out into the new CConLog structure where the loop in the console will now gather the colors directly from. Error/Warning use a single constant. * Fixed bugs in several log locations where the ostringstream was cleared before the emission causing double logs. * Added global log mutex to log wrappers that lacked those.