What the best rollover log file tracelistener for .NET

前端 未结 9 605
太阳男子
太阳男子 2020-12-28 13:43

I\'m looking for a good TraceListener for .Net that supports rolling over the log file based on size limits.

Constraints

  • Uses .Net b
9条回答
  •  悲哀的现实
    2020-12-28 14:26

    I keep this config snippet handy for whenever I need to do the network trace. I don't have to have a project built with explicit reference to VB DLL added as this does by adding the reference in App.config at runtime.

    
      
        
          
            
          
        
        
          
            
          
        
        
          
            
          
        
      
      
        
        
        
      
      
        
      
      
    
    

    And add the reference at runtime

      
        
          
            
            
          
        
      
    

提交回复
热议问题