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

If running iOS >= 10 or macOS >= 10.12, use built-in system logging #47

Closed
abbeycode opened this issue Nov 2, 2016 · 1 comment
Closed
Assignees
Milestone

Comments

@abbeycode
Copy link
Owner

The documentation is here: https://developer.apple.com/reference/os/1891852-logging

Switch logging to use a new macro (UZKLog), with an ifdef that uses the existing NSLog behavior on older OS versions. All logging should happen on a custom logger whose identifier is published on the readme. The macro should take the log level as the first argument, and insert it as a string into the NSLog fallback.

abbeycode added a commit that referenced this issue Jul 10, 2017
…alling back to NSLog for older OS versions (Issue #47)
abbeycode added a commit that referenced this issue Jul 10, 2017
abbeycode added a commit that referenced this issue Jul 11, 2017
…currences of '{public}' so those log statements work correctly. Would still prefer not inserting those calls on NSString (Issue #47)
abbeycode added a commit that referenced this issue Jul 11, 2017
abbeycode added a commit that referenced this issue Jul 11, 2017
abbeycode added a commit that referenced this issue Jul 29, 2017
… documenting how logging is supposed to be handled (Issue #47)
abbeycode added a commit that referenced this issue Aug 7, 2017
abbeycode added a commit that referenced this issue Aug 7, 2017
…logging can be turned off for the whole subsystem. Updated the Readme to reflect this (Issue #47)
@abbeycode abbeycode added this to the 1.9 milestone Aug 8, 2017
@abbeycode abbeycode self-assigned this Aug 8, 2017
@abbeycode
Copy link
Owner Author

Merged into v1.9 branch for release in that version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant