I am attempting to use log4cxx to write to the Visual Studio (2008)
console. However, I am using a Qt library in a Win 32 application that
does not use (and won't work) std::cout or std::cerr to print to the console .
I
know in the properties file you are able to create you own appenders.
Mike,
Hee is the logs.config file I use. To turn on logging to console just add,
stdout to the first line like this:
log4j.rootLogger=INFO, File, stdout
On 5/21/2013 11:44 AM, Mike wrote:
I am attempting to use log4cxx to write to the Visual Studio (2008) console.
Do you mean the VS debug output window via OutputDebugString, or are you talking
about a standard console via AllocConsole or a Win32 console application?
--
Jacob Anawalt
Gecko
I am trying to write to the Output console that is dock able on the bottom of
the screen.
It says Show output from: Build, Build Order, Debug
If I do a qDebug() this goes there.
However, in a test application when using the standard C++ library with log4cxx
all output for the console would go
Yes, I currently have this set up (and working) in a test application which
only uses the standard C++ library that is also a console application as
opposed to an actual application project. For the test application, it will
write as intended to the console among other files.
I believe these
Guten Tag Mike,
am Dienstag, 21. Mai 2013 um 19:44 schrieben Sie:
I am attempting to use log4cxx to write to the Visual Studio (2008)
console. However, I am using a Qt library in a Win 32 application
that does not use (and won't work) std::cout or std::cerr to print to the
console .
Could