Integrate std::format into the logger #38
Labels
Issue: Feature Request
This issue is a feature request.
Issue: Improvement
This issue relates to areas to improve.
Milestone
I've noticed a significant pattern that appears quite often in the logger.
gen::logger::error("windowing", std::format("GLFW Error: {} - {}", error, description));
Where std::format is used near constantly so much so that it'd be nice to just remove the requirement of performing the above operation and instead being able to implement the code as follows.
gen::logger::error("windowing", "GLFW Error: {} - {}", error, description);
It would help out a lot to not have to use std::format directly and instead integrate the functionality into the logger to avoid bugs cropping up such as people forgetting to include format and also saving a lot of typing. ^^
The text was updated successfully, but these errors were encountered: