Re: Leave NSLog()s in Final Product?
Re: Leave NSLog()s in Final Product?
- Subject: Re: Leave NSLog()s in Final Product?
- From: Timothy Carl Buchheim <email@hidden>
- Date: Mon, 15 Mar 2004 14:40:41 -0800
On Mar 15, 2004, at 6:13 AM, Jerry Krinock wrote:
The trouble is that, in Panther, I seem to have the only app/computer
in the
world who does not get stdout in
Library/Logs/Console/<me>/console.log
but I know this log is working, since I was getting that Canon scanner
crap
in there (until yesterday, when I fixed it, thanks to Karl Kuehn :))
Test it with a simple test application. It works for me:
gouda:/tmp tim$ mkdir test.app
gouda:/tmp tim$ mkdir test.app/Contents
gouda:/tmp tim$ mkdir test.app/Contents/MacOS
gouda:/tmp tim$ cat > test.m
#import <Foundation/Foundation.h>
main() {
NSLog(@"Hello, World");
}
gouda:/tmp tim$ gcc -o test.app/Contents/MacOS/test test.m -framework
Foundation
gouda:/tmp tim$ open test.app
gouda:/tmp tim$ tail -1 /Library/Logs/Console/tim/console.log
2004-03-15 14:38:44.293 test[3553] Hello, World
--
Tim Buchheim System Administrator
Computer Science Department Phone: (909) 607-3485
Harvey Mudd College Fax: (909) 607-8364
1250 N Dartmouth Ave E-mail: email@hidden
Claremont, CA 91711
http://www.cs.hmc.edu/~tcb/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.