+ (NSString *)stringWithFormat:(NSString *)format, ...
On Feb 27, 2010, at 4:02 PM, Rick Mann wrote:
I'm trying to improve our logging a bit. We have some logging code
that calls NSLog(), but that prepends a bunch of fairly useless
stuff for our purposes, taking up a significant portion of the line.
printf() doesn't, but doesn't understand %...@. I'd like to construct a
string by passing in a format string and a va_list, but I don't see
a constructor for that.
Is there a way to build an NSString with a va_list?
or
Is there a way to get NSLog() to be less verbose?
TIA,
Rick
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/danhd123%40mac.com
This email sent to danhd...@mac.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com