Exemplo n.º 1
0
 /// <summary>
 /// 转换指定属性的值
 /// </summary>
 /// <param name="writer">writer</param>
 /// <param name="loggingEvent">loggingEvent</param>
 protected override void Convert(TextWriter writer, LoggingEvent loggingEvent)
 {
     ExtensionInternalUtils.Write(writer, loggingEvent, "HeaderParamData");
 }
 /// <summary>
 /// 转换指定属性的值
 /// </summary>
 /// <param name="writer">writer</param>
 /// <param name="loggingEvent">loggingEvent</param>
 protected override void Convert(TextWriter writer, LoggingEvent loggingEvent)
 {
     ExtensionInternalUtils.Write(writer, loggingEvent, "UserId");
 }
 /// <summary>
 /// 转换指定属性的值
 /// </summary>
 /// <param name="writer">writer</param>
 /// <param name="loggingEvent">loggingEvent</param>
 protected override void Convert(System.IO.TextWriter writer, log4net.Core.LoggingEvent loggingEvent)
 {
     ExtensionInternalUtils.Write(writer, loggingEvent, "Action");
 }