Skip to content

Commit

Permalink
macos: set logger info in app delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
soomtong committed Jan 12, 2025
1 parent 781bad2 commit 36c43b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macOS/Patal/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ class AppDelegate: NSObject, NSApplicationDelegate {
name: bundle.infoDictionary?["InputMethodConnectionName"] as? String,
bundleIdentifier: bundle.bundleIdentifier)

logger.debug("팥알 입력기 서비스 등록: \(String(describing: bundle.bundleIdentifier))")
logger.info("팥알 입력기 서비스 등록: \(String(describing: bundle.bundleIdentifier))")
// 이 값은 System Settings 의 Keyboard > Text Input 에서 제공 받음
if let inputMethodID = getCurrentInputMethodID() {
logger.debug("자판 정보: \(inputMethodID)")
logger.info("자판 정보: \(inputMethodID)")
}
}

func applicationWillTerminate(_ aNotification: Notification) {
logger.debug("팥알 입력기 비활성화")
logger.info("팥알 입력기 비활성화")
}
}

0 comments on commit 36c43b3

Please sign in to comment.