it is possible to log all messages/levels with Log4Perl directly into an OutputDebugString (Windows System)?
I have some modules which use already log4perl, but now i want to use these modules in an environment where all log messages are OutputDebugStrings - in this environment the messages are read with DbgView and I want to read the output of my modules also with DbgView. I don't want to merge the Log4Perl Log files with the DbgView output.
I write OutputDebugStrings directly from Perl using the following perl code:
use Win32::API::OutputDebugString qw(OutputDebugString DStr);
OutputDebugString("Foo bar", "baz\n"); # sends Foo barbaz\n to the debugger
I found the log4net.Appender.OutputDebugStringAppender - How can I achieve the same for Perl
Thanks in advance.