Pages

Monday 16 May 2011

A Better NSLog 'ing

i have always found the built in NSLog(fmt, ...) a bit too limited in functionality.  it is really a pain if one use it in a bit moderate project with Console full of swinging lines in a debug mode.
so i decided to search and use a better NSLog method. i found many alternatives but to me the following 2 stand out of the crowd as a winners.
  1. Objective-C Logging with SOSmax
  2. NSLogger
The main killing feature of these two projects was to use it on networking. But you may wonder how this can be the the feature. but let me tell you it could be the life saver.
Consider a scenario where you are using threads in the app and you are starting and stopping threads at your will. The threads are stopping in the debug binary but when you prepare a adHoc binary and install it using iTunes on the phone, somehow the apps start misbehaving. on further investigation you suspect  that threads are not being stopped normally. at that time you will badly want to debug the binary in the adHoc distribution. but its not possible using the built in NSLog. at that time the Networking debug mode will come at rescue.
i was once in this scenario and at that time i wrote my own little logging utility which sends the logs over the network to the little mac app. but these two logging frameworks are too good to compare to that.

Here is the overview so some of the great features it offers

  • Debugging over network.
  • Different levels of logging.
  • Turning on/off logging in release vs debug mode.
  • Color highlighting for different levels of logging in SOSmax.
  • UIImage Logging in NSLogger, yes yo listened it right image logging.
  • File specific scope for logging in SOSmax.

i personally prefer SOSmax because it offers too much but one feature that i still want in SOSmax  is the UIimage/binary data logging of NSLogger. Expect that its perfect !

42 comments:

  1. hypnosis apps iphone are unable to find iTunes on your computer. To buy and download Life Hypnosis - Sleep Better, Help Weight Loss, Improve Relaxation & Future Life by Nowaiting Limited, get iTunes now.

    ReplyDelete
  2. It is an amazing post.Very useful to me.I liked it .Take a look to my blog Professional ios training Institute in Chennai


    ReplyDelete
  3. I am a regular reader of your blog. the blog is very interesting and will be much useful for us. I really enjoyed very much with this article here. Really its a amazing article I had ever read. I hope it will help a lot for all.
    IOS Training in Chennai

    ReplyDelete

  4. I enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again.
    Deer Hunting Tips Camping Trips Guide DEER HUNTING TIPS travel touring tips

    ReplyDelete

  5. Thanks for sharing the information. It is very useful for my future. keep sharing
    Best Wood Burning Backpacking Stove Best Ground Blind Chair Best Ice Fishng Gloves

    ReplyDelete
  6. Thanks for sharing such a great information with us.Keep on updating us with these types of blogs.
    professional web design company in chennai
    top 10 web designing companies in chennai

    ReplyDelete

  7. Repair My Phone Today is a leading Cell Phone Repair Store in Oxford providing the best repairing/replacement services for the screen, a battery of smartphones, laptops, tablets, smartwatches, etc. We deal in Apple iPhone, Samsung Galaxy, Huawei phones, Nokia Smartphones & many others

    Phone Screen Repair
    iPhone X Screen Repair
    iPhone XR screen repair
    iPhone 7 screen repair
    iPhone 7 plus screen repair
    iphone 8 screen repair
    iphone 8 plus screen repair

    ReplyDelete
  8. SSC Coaching
    SSC Coaching
    Best SSC Coaching in Jaipur
    Best Coaching For SSC
    Best Coaching For SSC in Jaipur
    Best SSC Coaching
    Top SSC Coaching In Jaipur

    SSC CGL Coaching
    SSC CGL Coaching in Jaipur
    Best SSC CGL Coaching
    Best SSC CGL Coaching in jaipur
    Best Coaching For SSC CGL in Jaipur
    Best Coaching For SSC CGL

    Bank Coaching
    Bank Coaching in Jaipur
    Best Bank Coaching In Jaipur
    Best Bank Coaching
    Best Coaching For Bank
    Best Coaching For Bank In Jaipur

    Bank PO Coaching
    Bank PO Coaching In Jaipur
    Best Bank PO Coaching
    Best Bank PO Coaching In

    ReplyDelete
  9. When it comes to providing best assignment service online,
    Unique Submission makes sure to complete assignment antecedently to offer scholars enough time to proof read the given assignment
    before submitting it to their tutors/professors. We never compromise to timely delivery and deadlines given by our customers.


    Assignment Help Services



    ReplyDelete
  10. When it comes to providing best assignment service online,
    Unique Submission makes sure to complete assignment antecedently to offer scholars enough time to proof read the given assignment
    before submitting it to their tutors/professors. We never compromise to timely delivery and deadlines given by our customers.


    Assignment Help Services



    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Thanks for proving such a wonderful content.
    Thank you so much for the post it is very helpful, Keep posting such type of articles. Fashion Designer Boutique in Mumbai

    ReplyDelete
  13. Thank you for this blog if you guys are insomniac watch this Asmr sleep video
    https://youtu.be/_Yo8Ghpf7t4

    ReplyDelete
  14. Excellent post! Your post is very useful and I felt quite interesting reading it. Expecting more post like this. Thanks for posting such a good post. laptop service in home. To service your laptop with offer prices, Please visit : Laptop service center in Navalur

    ReplyDelete
  15. Thanks for proving such a wonderful content.
    Thank you so much for the post it is very helpful, Keep posting such type of articles.
    For IVF Hospital
    IVF treatment in jaipur
    fertility hospital in Jaipur
    IVF hospital in jaipur
    fertility treatment in Jaipur
    icsi infertility treatment in Jaipur
    ivf center in jaipur

    ReplyDelete
  16. When it comes to providing best assignment service online,
    Unique Submission makes sure to complete assignment antecedently to offer scholars enough time to proof read the given assignment
    before submitting it to their tutors/professors. We never compromise to timely delivery and deadlines given by our customers.

    Myob Perdisco Assignment Help

    Presentation Assignment Help Services

    Proofreading and Editing Services

    ReplyDelete
  17. When it comes to providing best assignment service online,
    Unique Submission makes sure to complete assignment antecedently to offer scholars enough time to proof read the given assignment
    before submitting it to their tutors/professors. We never compromise to timely delivery and deadlines given by our customers.

    Case Study Writing Help

    Coursework Writing Help and Services

    Myob Perdisco Assignment Help

    Presentation Assignment Help Services

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. here you can buy weed online in addition, buy weed online legit offer weed at a cheap cost
    cheap ammo sell ammo online fast and really cheap

    ReplyDelete

  20. Nice Information. Thanks for sharing. Reach us For the same,

    #Webmedia Education
    Best Web Designing Course In Jaipur
    Web Development and Designing training in Jaipur

    Best Web Designing Course In Jaipur

    ReplyDelete

  21. Nice Information. Thanks for sharing. Reach us For the same,

    #Shayari Jokes Website
    Best Shayari Website

    ReplyDelete