• 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: When I don't want NSLog() for normal use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >When I don't want NSLog() for normal use? (From: Hisaoki Nishida <email@hidden>)

  • Prev by Date: Spaces in Paths in [NSWorkspace sharedWorkspace] selectFile:path...
  • Next by Date: Re: Strange Error
  • Previous by thread: Re: When I don't want NSLog() for normal use?
  • Next by thread: Re: When I don't want NSLog() for normal use?
  • Index(es):
    • Date
    • Thread