Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DISPATCH_CURRENT_QUEUE_LABEL if available #156

Merged
merged 6 commits into from
Nov 7, 2013

Conversation

kolyuchiy
Copy link
Contributor

A better way to get current queue label on iOS 7.
Issue #108, Issue #121.

@kolyuchiy
Copy link
Contributor Author

Using DISPATCH_CURRENT_QUEUE_LABEL works only if the SDK is 7.0+ and the app is running under iOS 7.0+.

Not equals "ascending" here means that the iOS version should be not less than 7.0.

else {
queueLabel = dd_str_copy("");
}
#elif __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe its cleaner to use __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@rivera-ernesto
Copy link
Member

Thanks for the updates!

Let's give a good test before releasing 1.6.3.

rivera-ernesto pushed a commit that referenced this pull request Nov 7, 2013
Use DISPATCH_CURRENT_QUEUE_LABEL if available
@rivera-ernesto rivera-ernesto merged commit dadf95e into CocoaLumberjack:master Nov 7, 2013
rivera-ernesto pushed a commit to rivera-ernesto/CocoaLumberjack that referenced this pull request Nov 8, 2013
No longer necessary after pull requests CocoaLumberjack#121 and CocoaLumberjack#156, and more importantly, that was ugly.
@rivera-ernesto rivera-ernesto mentioned this pull request Nov 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants