|
From: Leif M. <le...@ta...> - 2007-07-23 07:15:45
|
Ram,
In the current version, the only way to do this is to call the
following method:
WrapperManager.log(WrapperManager.WRAPPER_LOG_LEVEL_STATUS, "Hello");
Note however, that messages sent in this way reach the Wrapper
process using the backend socket. Output that is sent to the
console in all captured using a pipe of the console. Because of this
difference, If you print A to the console, B using the above method
and C to the console again, you may end up with the output out of
order.
A
B
C
or
C
A
B
I have on my todo list a better fix for this. But it has not yet
been implemented.
If you let me know exactly what you are trying to do, I may
have a better suggestion.
Cheers,
Leif
Ram Nov wrote:
> I will appreciate if some can supply an example for the following:
> I have an application that is combination of Java and C++,
> How can C++ application write log messages to the console that will
> get STATUS log level?
> All the lines printed with "cout <<" receive INFO level automatically
> Thanks
|