i need generate local log file user can send mail, along testflight implementation.
from testflighapp doc,
using tflogv can have method accepts variable number of arguments passes format , argument list tflog.
so, think can capture whatever testflighapp intend send on server , have collected in local file.
so, please guide me if in right direction , how can make use of function.
you this:
void mylog(nsstring *format, ...) { va_list arglist; va_start(arglist, format); nsstring *message = [[nsstring alloc] initwithformat:format arguments:arg_list]; va_end(arglist); // send testflight tflog(@"%@", message); // todo: save log // { code here } } and call mylog instead of tflog.
Comments
Post a Comment