From 0bb4ca269cc97627d216f71d46c3fd77783d0509 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 22 Nov 2024 11:53:46 -0800 Subject: [PATCH] macos: use Ghostty logger not AppDelegate --- macos/Sources/Ghostty/Ghostty.App.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Ghostty/Ghostty.App.swift b/macos/Sources/Ghostty/Ghostty.App.swift index 261fdc6f9..52a535365 100644 --- a/macos/Sources/Ghostty/Ghostty.App.swift +++ b/macos/Sources/Ghostty/Ghostty.App.swift @@ -154,7 +154,7 @@ extension Ghostty { // Hard or full updates have to reload the full configuration let newConfig = Config() guard newConfig.loaded else { - AppDelegate.logger.warning("failed to reload configuration") + Ghostty.logger.warning("failed to reload configuration") return } @@ -177,7 +177,7 @@ extension Ghostty { // config. We free it after the call. let newConfig = Config() guard newConfig.loaded else { - AppDelegate.logger.warning("failed to reload configuration") + Ghostty.logger.warning("failed to reload configuration") return }