diff --git a/src/main.cpp b/src/main.cpp index 03e1277..f94ae1f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -246,8 +246,8 @@ AppOptions ParseCommandLine(int argc, char** argv) { void LogRuntimeConfig(const RuntimeConfig& config, std::shared_ptr logger) { if (logger) { - logger->TraceVariable("config.width", config.width); - logger->TraceVariable("config.height", config.height); + logger->TraceVariable("config.width", static_cast(config.width)); + logger->TraceVariable("config.height", static_cast(config.height)); logger->TraceVariable("config.scriptPath", config.scriptPath.string()); } } @@ -314,7 +314,7 @@ int main(int argc, char** argv) { sdl3cpp::app::ServiceBasedApp app(options.runtimeConfig.scriptPath); // Configure logging - services::LogLevel logLevel = options.traceEnabled ? services::LogLevel::TRACE : services::LogLevel::INFO; + sdl3cpp::services::LogLevel logLevel = options.traceEnabled ? sdl3cpp::services::LogLevel::TRACE : sdl3cpp::services::LogLevel::INFO; app.ConfigureLogging(logLevel, true, "sdl3_app.log"); // Log startup information using service-based logging