feat: update logger with new features

This commit is contained in:
2026-03-29 12:38:06 +08:00
parent 2cfbd1a03b
commit 01d6e91da9
11 changed files with 86 additions and 40 deletions

View File

@@ -33,7 +33,7 @@ void Window::update_viewport() {
void Window::init() {
if (!glfwInit()) {
LOG::error("glfwinit fail");
Logger::error("glfwinit fail");
exit(EXIT_FAILURE);
}
@@ -50,7 +50,7 @@ void Window::init() {
if (glfwRawMouseMotionSupported()) {
glfwSetInputMode(m_window, GLFW_RAW_MOUSE_MOTION, GLFW_TRUE);
} else {
LOG::warn("Don,t support Raw Mouse Motion");
Logger::warn("Don,t support Raw Mouse Motion");
}
GLFWmonitor* primary = glfwGetPrimaryMonitor();