• 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: Console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console


  • Subject: Re: Console
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 23 Sep 2010 09:56:16 +0100


On 22 Sep 2010, at 23:20, albert jordan wrote:

>
> Is there anyway in Xcode to have multiple Consoles?  I have multiple streams of log messages, and would like to display log messages in separate windows.  I've tried using an NSTextView object to display messages, but I believe this does not work because the log messages arrive too rapidly.  Console works fine.
>
Another non xcode solution is to just log to a file and then use a kqueue to retrieve the log in chunks back into your NSTextView.
I use UKKQueue somewhat like this:

	// register for file notifications
	UKKQueue *kq = [UKKQueue sharedFileWatcher];	// starts up a watcher thread
	[kq setDelegate:self];	// use delegate messages as they will be executed on this thread

	NSString *path = @"/hopefully/my/log/is/here";
	[kq addPathToQueue: path notifyingAbout: UKKQueueNotifyAboutWrite];

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Console (From: albert jordan <email@hidden>)

  • Prev by Date: Re: Console
  • Next by Date: Xcode and SVN
  • Previous by thread: Re: Console
  • Next by thread: Xcode and SVN
  • Index(es):
    • Date
    • Thread