logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: html output
Date Tue, 13 Dec 2005 18:35:06 GMT
This may work for very simple cases:

 <layout type="log4net.Layout.PatternLayout">
  <conversionPattern>
   <![[CDATA[
    <table>
     <tr>
      <td><strong>%level</strong></td>
      <td>%date</td>
      <td>%message</td>
     </tr>
    </table>
   ]]>
  </conversionPattern>
 </layout>

Anything more complex should follow Nicko's recommendations as the code
above doesn't handle the opening and closing HTML and BODY tags among
other things.

--- Brian Gustavsen <bg@adwiza.com> wrote:

> are there any html logfile appender or is it possible to write it my
> self ?
>  
> Best Regards/Med venlig hilsen
>  
> Brian Gustavsen
>  
> ________________________________
> 
> 
> Adwiza ApS
> 
> Drejergangen 3 B
> 
> DK-2690 Karlslunde
> 
> Denmark
> 
>  
> 
> E-mail:        bg@adwiza.com <mailto:bg@adwiza.com> 
> 
> Web-site:    www.adwiza.com
> <blocked::blocked::blocked::http://www.adwiza.com/> 
> 
>  
> 
> Office:  +45 70 22 85 50
> 
> Fax:     +45 70 22 85 51
> 
>  
> 
> Register as user at our Web-site: Click here!
>
<blocked::blocked::blocked::http://www.adwiza.com/user/user_create.asp>
> 
> 
> Sign up for our newsletter:          Click here!
>
<blocked::blocked::blocked::http://www.adwiza.com/news/newsletter.htm>
> 
> 
> ________________________________
> 
> ** The information enclosed in this electronic mail message,
> including 
> 
> ** any attachment, is the confidential property of Adwiza ApS.
> 
> ** All rights reserved under copyright and applicable laws
> 
>  
>  
> For help and support please use support@adwiza.com
>  
> 


Mime
View raw message