HaishinKit.swift/Examples/macOS/AppDelegate.swift

15 lines
346 B
Swift

import Cocoa
import HaishinKit
import Logboard
let logger = LBLogger.with("com.haishinkit.Exsample.macOS")
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
var window: NSWindow!
func applicationDidFinishLaunching(_ aNotification: Notification) {
LBLogger.with(HaishinKitIdentifier).level = .info
}
}