]> git.saurik.com Git - veency.git/commitdiff
Use NSLog() instead of fprintf(stderr) for _trace.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 14 Dec 2014 12:16:15 +0000 (04:16 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 14 Dec 2014 12:16:15 +0000 (04:16 -0800)
Tweak.mm

index 3255b0d023e6e74385a1fb3a4e6875cd76efe164..1c5f343927248c929c31864ff95c1111de5c6896 100644 (file)
--- a/Tweak.mm
+++ b/Tweak.mm
@@ -20,7 +20,7 @@
 /* }}} */
 
 #define _trace() \
-    fprintf(stderr, "_trace()@%s:%u[%s]\n", __FILE__, __LINE__, __FUNCTION__)
+    NSLog(@"_trace()@%s:%u[%s]\n", __FILE__, __LINE__, __FUNCTION__)
 #define _likely(expr) \
     __builtin_expect(expr, 1)
 #define _unlikely(expr) \