aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Core
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2018-04-30 14:24:49 -0400
committerGravatar Paul Beusterien <paulbeusterien@google.com>2018-05-01 06:39:19 -0700
commit83d10045d4672c4eda2b49ecbc260b109de0fa84 (patch)
tree3512dfc5f58d4bbd5fce52641aff500c5b4407c7 /Firebase/Core
parent8fc827458ce5bdb7f4f0da3c79e5cced93e850d7 (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.m10
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));