Thanks. It works:) I need to use this because I cannot call TSDebug directly
in my third party API.

On Tue, Sep 6, 2011 at 6:52 PM, Ethan Lai <yz...@yahoo.com> wrote:

> Hi Steven,
>
> Print to stderr instead of stdout, fprintf(stderr, ...), could solve your
> question.
> However, I would suggest to use TSError() or TSDebug() with your own tag
> instead.  :)
>
> Thanks,
> -Ethan
>
>
>
> 2011/9/6 steven liu <stevenli...@gmail.com>
>
>> Dear All,
>>
>> I am now working on a plugin which calls a third party API library. I am
>> able to use TSDebug() in plugin to print out debug infomation. But when I
>> use printf in my API, I cannot get the printing information on
>> screen/terminal. I also tried to open a file in my API and save the debug
>> info to the file. But I cannot find the file. The API can be called
>> properly. The only issue is that I cannot get debug information inside the
>> API. Many thanks for your help.
>>
>> Rgds,
>> Steve
>>
>>

Reply via email to