Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 1    Views: 49

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
07/03/14 07:37 AM (10 years ago)

Save the NSLog to a string variable?

Hey guys... I tried google, but couldn't come up with anything. What would be the best way to save the NSLog to an NSString, or some other variable type? I'm not even sure an NSString can handle something that long. I'm using a URL to post a copy of the NSLog by passing it as a variable, but can't seem to figure out how to get the NSLog into a variable in the first place. Obviously, this doesn't work, but it will give you an idea of what I'm trying to do: NSString *test; test = NSLog; Any ideas? Thanks.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/03/14 10:13 AM (10 years ago)
I'd begin by adapting the code for the BT_debugger class.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.