diff options
author | Ryan Wilson <wilsonryan@google.com> | 2018-04-30 14:24:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 14:24:49 -0400 |
commit | ab208ba50f0790cc179b4a8822b4a28957b7c097 (patch) | |
tree | 34a7ae236082db5550d197ad140dc769bef61ca5 /Firebase/Core | |
parent | 24f8c4d75b6bfb291d6f1694d1838d4347ca2520 (diff) |
Remove iOS 7 Simulator check from FIRLogger. (#1196)
This isn't needed anymore due to the minimum required version being bumped to iOS 8.
Diffstat (limited to 'Firebase/Core')
-rw-r--r-- | Firebase/Core/FIRLogger.m | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Firebase/Core/FIRLogger.m b/Firebase/Core/FIRLogger.m index d4de2a0..ba28f4c 100644 --- a/Firebase/Core/FIRLogger.m +++ b/Firebase/Core/FIRLogger.m @@ -133,16 +133,6 @@ void FIRLoggerInitializeASL() { sFIRLoggerDebugMode = NO; } -#if TARGET_OS_SIMULATOR - // Need to call asl_add_output_file so that the logs can appear in Xcode's console view when - // running iOS 7. Set the ASL filter mask for this output file up to debug level so that all - // messages are viewable in the console. - if (majorOSVersion == 7) { - asl_add_output_file(sFIRLoggerClient, STDERR_FILENO, kFIRLoggerCustomASLMessageFormat, - ASL_TIME_FMT_LCL, ASL_FILTER_MASK_UPTO(ASL_LEVEL_DEBUG), ASL_ENCODE_SAFE); - } -#endif // TARGET_OS_SIMULATOR - sFIRClientQueue = dispatch_queue_create("FIRLoggingClientQueue", DISPATCH_QUEUE_SERIAL); dispatch_set_target_queue(sFIRClientQueue, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0)); |