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