mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 21:55:09 +00:00
feat: Replace logging::TraceGuard with ILogger logging in Resize and Shutdown methods
This commit is contained in:
@@ -54,7 +54,7 @@ void VulkanGuiService::RenderToSwapchain(VkCommandBuffer commandBuffer, VkImage
|
||||
}
|
||||
|
||||
void VulkanGuiService::Resize(uint32_t width, uint32_t height, VkFormat format) {
|
||||
logging::TraceGuard trace;
|
||||
logger_->TraceFunction(__func__);
|
||||
|
||||
if (!renderer_) {
|
||||
return;
|
||||
@@ -64,7 +64,7 @@ void VulkanGuiService::Resize(uint32_t width, uint32_t height, VkFormat format)
|
||||
}
|
||||
|
||||
void VulkanGuiService::Shutdown() noexcept {
|
||||
logging::TraceGuard trace;
|
||||
logger_->TraceFunction(__func__);
|
||||
|
||||
if (!initialized_) {
|
||||
return;
|
||||
@@ -73,7 +73,7 @@ void VulkanGuiService::Shutdown() noexcept {
|
||||
renderer_.reset();
|
||||
initialized_ = false;
|
||||
|
||||
logging::Logger::GetInstance().Info("GUI service shutdown");
|
||||
logger_->Info("GUI service shutdown");
|
||||
}
|
||||
|
||||
} // namespace sdl3cpp::services::impl
|
||||
|
||||
Reference in New Issue
Block a user