delba / Log

An extensible logging framework for Swift
MIT License
830 stars 63 forks source link

Fix Xcode 10 cannot show logs in console problem #28

Closed ming-chu closed 4 years ago

ming-chu commented 6 years ago

Xcode 10 cannot show logs in 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"

noamtamim commented 6 years ago

This project seems to be abandoned :-(

@delba any chance of merging this patch and releasing an update to Cocoapods?

ming-chu commented 6 years ago

That’s so sad, btw @noamtamim I had a workaround for short term proposed in comment on issues #29

https://github.com/delba/Log/issues/29

Hope this can help!😃

noamtamim commented 6 years ago

@ming-chu yes I know you can do it in a Podfile. Unfortunately for me, I publish a pod myself. And a podspec can't specify a URL/branch of a pod, it has to use a released version.

Sadly, my workaround is switching to another logging library.

ming-chu commented 5 years ago

@ming-chu yes I know you can do it in a Podfile. Unfortunately for me, I publish a pod myself. And a podspec can't specify a URL/branch of a pod, it has to use a released version.

Sadly, my workaround is switching to another logging library.

So sad :'(

delba commented 4 years ago

Hi @ming-chu, thank you very much for the PR, the lib has been updated for the latest Swift version along with this very issue. Thanks again :)