Re: When I don't want NSLog() for normal use?
Re: When I don't want NSLog() for normal use?
- Subject: Re: When I don't want NSLog() for normal use?
- From: Patrick Narkinsky <email@hidden>
- Date: Thu, 24 Oct 2002 10:11:12 -0400
Thus spake "Hisaoki Nishida"> :
>
But to do this I need to declare a global header for kTrace and I feel
>
it's just so messy and awkward.
>
Is there an alternative way to do this? How do you implement debugging?
why not just do:
#ifdef DEBUG
... logging code ...
#endif
?
Patrick
--
"It is not as a child that I believe and confess Jesus Christ. My hosanna is
born of a furnace of doubt."
-- Fyodor Doestoevsky
_______________________________________________
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.