摘要:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&qu 阅读全文
摘要:
public static void WriteErrorLogDataInteraction(string sLog, string titleLog) { try { string logPath = ConfigurationSettings.AppSettings["LogPath"]; //通过配置文件记录错误日志位置 if (string.IsNullOrEmpty(logPath)) { logPath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;//配置文件安装目录 } 阅读全文