日志操作类.CS
/// <summary>
/// 记录开始-用于开始执行代码时写入时间和开始
/// </summary>
/// <param name="strTitle">日志开始</param>
public static string WriteStartLog(string strTitle)
------------------------------------------------------------------------------ /// <summary>
/// 记录开始-用于开始执行代码时写入时间和开始
/// </summary>
/// <param name="strTitle">日志开始</param>
/// <param name="sender">位置</param>
public static string WriteStartLog(string strTitle, object sender)
------------------------------------------------------------------------------ /// <summary>
/// 记录完成-用于记录代码执行完成后记录结束和结束时的时间
/// </summary>
/// <param name="strContent">结束</param>
public static string WriteEndLog(string strContent)
------------------------------------------------------------------------------ /// <summary>
/// 记录完成-用于记录代码执行完成后记录结束和结束时的时间
/// </summary>
/// <param name="ex">错误信息</param>
public static string WriteEndLog(Exception ex)------------------------------------------------------------------------------
/// <summary>
/// 记录完成-用于记录代码执行完成后记录结束和结束时的时间
/// </summary>
/// <param name="strContent">结束</param>
/// <param name="ex">错误信息</param>
public static string WriteEndLog(string strContent, Exception ex).
├── myLog.cs
└── 找例子网_myLog.zip
0 directories, 2 files
评论