diff --git a/Coffeefy/AppDelegate.swift b/Coffeefy/AppDelegate.swift index 936e73b..9fd1911 100644 --- a/Coffeefy/AppDelegate.swift +++ b/Coffeefy/AppDelegate.swift @@ -49,7 +49,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { let fileLogger = DDFileLogger() fileLogger?.rollingFrequency = TimeInterval( 7 * 60 * 60 * 24 )// a week fileLogger?.logFileManager.maximumNumberOfLogFiles = 1 - DDLog.add(fileLogger) + DDLog.add(fileLogger!) #endif // status menu