I am getting formatted .txt logs through log4net ,but not able to insert new line in html format, So I want to convert it to html log file so that, I can get a formatted html file and also insert screenshots to that html log file. so I want to know how to convert the .txt log file to .html log file using c# .
            Asked
            
        
        
            Active
            
        
            Viewed 856 times
        
    1 Answers
0
            
            
        How are you configuring log4net - programmatically or via a config file. Have you considered using new line tag?
> <layout type="log4net.Layout.PatternLayout">
>         <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> </layout
        weismat
        
- 7,195
 - 3
 - 43
 - 58