示例#1
0
 protected virtual void FormatLogContent(LogEntity entity)
 {
 }
示例#2
0
 /// <summary>
 /// 抽象类的抽象方法,继承者必须实现他
 /// </summary>
 /// <param name="entity"></param>
 /// <returns></returns>
 protected abstract bool DoSaveLog(LogEntity entity);
示例#3
0
 protected override void FormatLogContent(LogEntity entity)
 {
     entity.Content.Message = entity.Content.Message.Replace("//", "--");
 }