[ previous ] [ next ] [ threads ]
 To :  Yate mailing list <yate@v...>
 From :  =?iso-8859-1?Q?Carlos_S=E1nchez_Cazorla?= <carlossanchezcazorla@y...>
 Subject :  Re: [yate] Debuggin with the output
 Date :  Mon, 3 Dec 2007 13:49:56 +0000 (GMT)
Thanks for your fast reply !! But I can't work it out. I've used the following functions:

    Debugger::enableOutput(true,true);
    debugLevel(DebugAll);
    Debug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    DDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    XDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    NDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    Output("GUS");

And it compiles okay, but it doesn't do anything. I'm also running yate with the -l yate-log.txt but I don't get any result neither in the yate-log file or the Yate Event Log

What's wrong?

Thank you very much for your time ;)


Carlos Sánchez Cazorla

----- Mensaje original ----
De: Paul Chitescu 
Para: Yate mailing list 
Enviado: lunes, 3 de diciembre, 2007 13:58:22
Asunto: Re: [yate] Debuggin with the output

Hello, Carlos!

If you just want to see messages in the log window the functionality is
 
already in the Yate 1.3.0 client. You can look in the code of 
engine/Client.cpp and in modules/skin/tabbed/gtk2client.ui for the 
"log_events_debug" toggle.

Please note that you can only see what the Output and Debug C++
 functions 
would show. The output of external modules is not available, that goes 
directly to the log file through stderr.

Paul Chitescu


On Mon, 3 Dec 2007, Carlos Sánchez Cazorla wrote:
> Hello everybody !!

I'm adding some files in order to modify the Yate Softphone in Windows
 and 
I'd like to use the Output function in order to show messages in the
 log 
window.It compiles well but it doesn't show the messages.

In the beginning of my file I've added the following lines: 
(rtp_extension.h is my new file)

#include 
#include 
#include 
#include 

using namespace TelEngine;

What is wrong? Do I need to add anything more?

Yours sincerely,

Carlos Sánchez Cazorla





       
______________________________________________ 
¿Chef por primera vez?
Sé un mejor Cocinillas. 
http://es.answers.yahoo.com/info/welcome


Thanks for your fast reply !! But I can't work it out. I've used the following functions:

    Debugger::enableOutput(true,true);
    debugLevel(DebugAll);
    Debug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    DDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    XDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    NDebug(ClientDriver::self(),DebugGoOn,"PRUEBA");
    Output("GUS");

And it compiles okay, but it doesn't do anything. I'm also running yate with the -l yate-log.txt but I don't get any result neither in the yate-log file or the Yate Event Log

What's wrong?

Thank you very much for your time ;)

Carlos Sánchez Cazorla


----- Mensaje original ----
De: Paul Chitescu <paulc@v...>
Para: Yate mailing list <yate@v...>
Enviado: lunes, 3 de diciembre, 2007 13:58:22
Asunto: Re: [yate] Debuggin with the output

Hello, Carlos!

If you just want to see messages in the log window the functionality is
already in the Yate 1.3.0 client. You can look in the code of
engine/Client.cpp and in modules/skin/tabbed/gtk2client.ui for the
"log_events_debug" toggle.

Please note that you can only see what the Output and Debug C++ functions
would show. The output of external modules is not available, that goes
directly to the log file through stderr.

Paul Chitescu


On Mon, 3 Dec 2007, Carlos Sánchez Cazorla wrote:
> Hello everybody !!

I'm adding some files in order to modify the Yate Softphone in Windows and
I'd like to use the Output function in order to show messages in the log
window.It compiles well but it doesn't show the messages.

In the beginning of my file I've added the following lines:
(rtp_extension.h is my new file)

#include <yatertp.h>
#include <stdio.h>
#include <rtp_extension.h>
#include <yatengine.h>

using namespace TelEngine;

What is wrong? Do I need to add anything more?

Yours sincerely,

Carlos Sánchez Cazorla




¿Chef por primera vez? - Sé un mejor Cocinillas.
Entra en Yahoo! Respuestas.