From 98eb4613ed8835b4ad68e99ffad2dac7be217d17 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 1 Dec 2017 12:24:24 -0500 Subject: [PATCH] Enable logging in SAE; rework log file management to include multiple log directories. --- SignalMessaging/utils/DebugLogger.h | 2 -- SignalMessaging/utils/DebugLogger.m | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SignalMessaging/utils/DebugLogger.h b/SignalMessaging/utils/DebugLogger.h index 5c61751f8..a3ec93bfb 100644 --- a/SignalMessaging/utils/DebugLogger.h +++ b/SignalMessaging/utils/DebugLogger.h @@ -6,8 +6,6 @@ @interface DebugLogger : NSObject -@property (nonatomic) DDFileLogger *fileLogger; - + (instancetype)sharedLogger; - (void)enableFileLogging; diff --git a/SignalMessaging/utils/DebugLogger.m b/SignalMessaging/utils/DebugLogger.m index 01c900ec8..a4be908e9 100644 --- a/SignalMessaging/utils/DebugLogger.m +++ b/SignalMessaging/utils/DebugLogger.m @@ -11,6 +11,14 @@ #pragma mark Logging - Production logging wants us to write some logs to a file in case we need it for debugging. #import +@interface DebugLogger () + +@property (nonatomic) DDFileLogger *fileLogger; + +@end + +#pragma mark - + @implementation DebugLogger + (instancetype)sharedLogger