Beispiel #1
0
 /// <summary>
 /// Render the message template to the specified output, given the properties associated
 /// with the event.
 /// </summary>
 /// <param name="output">The output.</param>
 /// <param name="formatProvider">Supplies culture-specific formatting information, or null.</param>
 public void RenderMessage(TextWriter output, IFormatProvider formatProvider = null)
 {
     MessageTemplate.Render(Properties, output, formatProvider);
 }
Beispiel #2
0
 /// <summary>
 /// Render the message template to the specified output, given the properties associated
 /// with the event.
 /// </summary>
 /// <param name="output">The output.</param>
 /// <param name="formatProvider">Supplies culture-specific formatting information, or null.</param>
 /// <param name="ignoreTypeTag">set true to ignore the class name in json string</param>
 public void RenderMessage(TextWriter output, IFormatProvider formatProvider = null, bool ignoreTypeTag = false)
 {
     MessageTemplate.Render(Properties, output, formatProvider, ignoreTypeTag);
 }