• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leave NSLog()s in Final Product?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leave NSLog()s in Final Product?


  • Subject: Re: Leave NSLog()s in Final Product?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 12 Mar 2004 18:11:11 +0100

At 6:26 Uhr -0800 12.03.2004, Jerry Krinock wrote:
Is there any reason why I should not leave NSLog() calls in my final,
released product?

They don't seem to slow it down any.

I have made quite a different experience. Maybe you have a faster Mac than I do (600MHz), or a faster hard disk, or you're outputting less debugging info. But I've noticed significant slowdowns in my app that were cured when I commented out the NSLog()s. In the interest of users of slower Macs, I'd suggest you remove NSLog()s.

Do these NSLog() calls do anything when an application is not launched from
Terminal?

Yes, they show up in Console.app.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Leave NSLog()s in Final Product? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Cocoa API for System Status? (Repost)
  • Next by Date: How to implement "drag out of Dock to remove"-behavior?
  • Previous by thread: Re: Leave NSLog()s in Final Product?
  • Next by thread: Re: Leave NSLog()s in Final Product?
  • Index(es):
    • Date
    • Thread