Skip navigation.
 
mlRe: printf with "%@"
FROM : Roland Silver
DATE : Fri Aug 11 18:08:24 2006

The trouble with NSLog is that it prints all that extra stuff before 
the actual formatted message. For example,
   NSLog(@"sender=%@\n", sender);
logs this:
   2006-08-11 10:06:29.545 EmulatorV4.17.04[1380] sender=<MenuItem: 
0x449040 Ad Hoc Test>
in the Run log, rather than just:
   sender=<MenuItem: 0x449040 Ad Hoc Test>
---------------------------------
On Aug 11, 2006, at 9:57 AM, Dirk Stegemann wrote:

> Hi,
>
> Am 11.08.2006 um 18:55 schrieb Roland Silver:
>

>> Dear list,
>> Is there a function/method available in the Cocoa API that's like 
>> printf, except for
>> allowing "%@" usage

>
> What's wrong with NSLog()?
>
>
> Best regards,
> Dirk Stegemann
>
>
>

Related mailsAuthorDate
mlprintf with "%@" Roland Silver Aug 11, 17:55
mlRe: printf with "%@" Dirk Stegemann Aug 11, 17:57
mlRe: printf with "%@" Roland Silver Aug 11, 18:08
mlRe: printf with "%@" Dirk Stegemann Aug 11, 18:19
mlRe: printf with "%@" Roland Silver Aug 11, 18:26
mlRe: printf with "%@" Piers Uso Walter Aug 11, 18:41
mlRe: printf with "%@" Joseph Kelly Aug 11, 18:41
mlRe: printf with "%@" Dirk Stegemann Aug 11, 18:47
mlRe: printf with "%@" Deborah Goldsmith Aug 11, 23:41
mlRe: printf with "%@" Andrew Farmer Aug 12, 00:28
mlRe: printf with "%@" Wayne Hasley Aug 12, 01:28