You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2002/02/13 18:37:18 UTC

Fwd: New Feature.

FYI

>Delivered-To: cgu@qos.ch
>Reply-To: "Mark DeLaFranier" <ma...@delafranier.com>
>From: "Mark DeLaFranier" <de...@rogers.com>
>To: <ce...@qos.ch>
>Cc: "Mark DeLaFranier" <ma...@delafranier.com>
>Subject: New Feature.
>Date: Tue, 12 Feb 2002 23:41:05 -0500
>X-Mailer: Microsoft Outlook Express 6.00.2600.0000
>X-Authentication-Info: Submitted using SMTP AUTH LOGIN at 
>fep03-mail.bloor.is.net.cable.rogers.com from [24.102.232.214] using ID 
><de...@rogers.com> at Tue, 12 Feb 2002 23:41:31 -0500
>
>Ceki,
>
>In my project, I have a Win32 application launching the Java VM which in
>turn performs a bunch of logging, using Log4J.
>
>Microsoft has a Win32 API, OutputDebugString(), which is handy for logging
>messages to the Visual Studio debugger or anyother Win32 tool that can act
>as a debug string server
>(http://www.sysinternals.com/ntw2k/freeware/debugview.shtml - This is an
>example that I use regularly)
>
>I have enhanced the org.apache.log4j.nt directory and created a new
>Appender - NTOutputDebugAppender.java and ntdebuglog.c.  I made some slight
>changes to the code for ntevent.log.c so that some code can be shared
>between ntdebuglog.c and nteventlog.c.
>
>With this enhancement, both my C/C++ and Java source code can all log to the
>same destination under NT.
>
>I don't know if this would be something you are interested in, but if you
>are please let me know and if you would like, I could clean up the code and
>document it.  I have attached my org.apache.log4j.nt directory for you to
>see.
>
>Thanks
>Mark

--
Ceki G�lc�