macos: use Ghostty logger not AppDelegate

This commit is contained in:
Mitchell Hashimoto
2024-11-22 11:53:46 -08:00
parent f20b20bd6a
commit 0bb4ca269c

View File

@ -154,7 +154,7 @@ extension Ghostty {
// Hard or full updates have to reload the full configuration // Hard or full updates have to reload the full configuration
let newConfig = Config() let newConfig = Config()
guard newConfig.loaded else { guard newConfig.loaded else {
AppDelegate.logger.warning("failed to reload configuration") Ghostty.logger.warning("failed to reload configuration")
return return
} }
@ -177,7 +177,7 @@ extension Ghostty {
// config. We free it after the call. // config. We free it after the call.
let newConfig = Config() let newConfig = Config()
guard newConfig.loaded else { guard newConfig.loaded else {
AppDelegate.logger.warning("failed to reload configuration") Ghostty.logger.warning("failed to reload configuration")
return return
} }