@@ -506,12 +506,12 @@ - (unsigned long long)maximumFileSize
506
506
}
507
507
else
508
508
{
509
- dispatch_queue_t loggingQueue = [DDLog loggingQueue ];
510
- NSAssert (currentQueue != loggingQueue , @" Core architecture requirement failure" );
509
+ dispatch_queue_t globalLoggingQueue = [DDLog loggingQueue ];
510
+ NSAssert (currentQueue != globalLoggingQueue , @" Core architecture requirement failure" );
511
511
512
512
__block unsigned long long result;
513
513
514
- dispatch_sync (loggingQueue , ^{
514
+ dispatch_sync (globalLoggingQueue , ^{
515
515
dispatch_sync (loggerQueue, ^{
516
516
result = maximumFileSize;
517
517
});
@@ -540,10 +540,10 @@ - (void)setMaximumFileSize:(unsigned long long)newMaximumFileSize
540
540
}
541
541
else
542
542
{
543
- dispatch_queue_t loggingQueue = [DDLog loggingQueue ];
544
- NSAssert (currentQueue != loggingQueue , @" Core architecture requirement failure" );
543
+ dispatch_queue_t globalLoggingQueue = [DDLog loggingQueue ];
544
+ NSAssert (currentQueue != globalLoggingQueue , @" Core architecture requirement failure" );
545
545
546
- dispatch_async (loggingQueue , ^{
546
+ dispatch_async (globalLoggingQueue , ^{
547
547
dispatch_async (loggerQueue, block);
548
548
});
549
549
}
@@ -564,12 +564,12 @@ - (NSTimeInterval)rollingFrequency
564
564
}
565
565
else
566
566
{
567
- dispatch_queue_t loggingQueue = [DDLog loggingQueue ];
568
- NSAssert (currentQueue != loggingQueue , @" Core architecture requirement failure" );
567
+ dispatch_queue_t globalLoggingQueue = [DDLog loggingQueue ];
568
+ NSAssert (currentQueue != globalLoggingQueue , @" Core architecture requirement failure" );
569
569
570
570
__block NSTimeInterval result;
571
571
572
- dispatch_sync (loggingQueue , ^{
572
+ dispatch_sync (globalLoggingQueue , ^{
573
573
dispatch_sync (loggerQueue, ^{
574
574
result = rollingFrequency;
575
575
});
@@ -598,10 +598,10 @@ - (void)setRollingFrequency:(NSTimeInterval)newRollingFrequency
598
598
}
599
599
else
600
600
{
601
- dispatch_queue_t loggingQueue = [DDLog loggingQueue ];
602
- NSAssert (currentQueue != loggingQueue , @" Core architecture requirement failure" );
601
+ dispatch_queue_t globalLoggingQueue = [DDLog loggingQueue ];
602
+ NSAssert (currentQueue != globalLoggingQueue , @" Core architecture requirement failure" );
603
603
604
- dispatch_async (loggingQueue , ^{
604
+ dispatch_async (globalLoggingQueue , ^{
605
605
dispatch_async (loggerQueue, block);
606
606
});
607
607
}
@@ -672,10 +672,10 @@ - (void)rollLogFile
672
672
}
673
673
else
674
674
{
675
- dispatch_queue_t loggingQueue = [DDLog loggingQueue ];
676
- NSAssert (currentQueue != loggingQueue , @" Core architecture requirement failure" );
675
+ dispatch_queue_t globalLoggingQueue = [DDLog loggingQueue ];
676
+ NSAssert (currentQueue != globalLoggingQueue , @" Core architecture requirement failure" );
677
677
678
- dispatch_async (loggingQueue , ^{
678
+ dispatch_async (globalLoggingQueue , ^{
679
679
dispatch_async (loggerQueue, block);
680
680
});
681
681
}
0 commit comments