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

Log messages not being displayed in XCode debug console #29

Closed
jakerockland opened this issue Oct 4, 2018 · 3 comments
Closed

Log messages not being displayed in XCode debug console #29

jakerockland opened this issue Oct 4, 2018 · 3 comments

Comments

@jakerockland
Copy link

Hey @delba, are you still maintaining this library? I am having odd issue now where logs print inconsistently, I can't tell if this is an issue newly introduced in XCode 10, or if it happened due to me updating iOS. Have you seen anything similar in any of your projects?

@ming-chu
Copy link

ming-chu commented Oct 5, 2018

hi @jakerockland please checkout the pull request PR-28

And here is why cannot show to the console:
That's because of the level comparison failed in log function (level >= minLevel always false),
fix it by using raw values type "Int" for "Level"

You may use it temporary before @delba merge the PR
pod 'Log', :git => 'https://github.com/ming-chu/Log.git', :commit => '9d47ba104449961dd522a102c91e22ffc7df28d3'

Note that you may need to clean the Build folder (shift + Cmd + K) and build again after you updated the pod, hope it can help :)

@jakerockland
Copy link
Author

Awesome, will test this soon @ming-chu, thank you so much!

@delba
Copy link
Owner

delba commented Nov 12, 2019

Hi @jakerockland , the project has been updated to the latest Swift version, it should fix the issue.
See this commit 4823cdd

@delba delba closed this as completed Nov 12, 2019
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

No branches or pull requests

3 participants