Re: Simple Xcode output-format question
Re: Simple Xcode output-format question
- Subject: Re: Simple Xcode output-format question
- From: Clark Cox <email@hidden>
- Date: Sun, 28 Mar 2004 14:03:15 -0500
I assume that you're using NSLog. If so, then I do not believe that
there is anything that you can do to get rid of that information. NSLog
is for logging information, not for general output. If you just want
some general output to stdio, then use printf and/or fprintf.
You can do something like:
void MyOutput(NSString *format, ...)
{
va_list args;
va_start(args, format);
{
NSString *output = [[NSString alloc] initWithFormat: format
arguments: args];
puts([output UTF8String]);
[output release];
}
va_end(args);
}
and then call it as you would NSLog
On Mar 28, 2004, at 12:45, Frederick C. Lee wrote:
> I get the following prefix on my output:
>
> 2004-03-28 09:39:49.437 myFirstCocoa[598]
>
> How can I get rid of the date/time stamp?
>
> It's a waste of space.
>
> Thanks.
>
> Ric.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
>
>
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.