NLog config




  
  

  
  

    

    
    
    
      
        
        
        
        
      
    

    
  

  
    

    
    
    

    
  

LogEventInfo theEvent = new LogEventInfo(LogLevel.Fatal, "", "");
theEvent.Properties["vsField"] = vsField;
theEvent.Properties["totalCount"] = totalCount;
theEvent.Properties["resultName"] = resName;
theEvent.Properties["matchedCount"] = matchedCount;
logger.Fatal(theEvent);

你可能感兴趣的:(NLog config)