public override void InsertLog(Content.Logger log) { //throw new NotImplementedException(); }
public override void InsertLog(Content.Logger log) { string sPath = String.Format("{0}_{1}_{2}_{3}.txt", @"d:\Log", log.PageId.ToString(), log.DocumentKey.ToString(), log.Date.ToString("yyyyMMddTHHmmss")); File.WriteAllText(sPath, log.ToString()); }