CreateNullEvent() 공개 정적인 메소드

Creates the null event.
public static CreateNullEvent ( ) : LogEventInfo
리턴 LogEventInfo
예제 #1
0
 /// <summary>
 /// Evaluates the specified text by expadinging all layout renderers
 /// in new <see cref="LogEventInfo" /> context.
 /// </summary>
 /// <param name="text">The text to be evaluated.</param>
 /// <returns>The input text with all occurences of ${} replaced with
 /// values provided by the appropriate layout renderers.</returns>
 public static string Evaluate(string text)
 {
     return(Evaluate(text, LogEventInfo.CreateNullEvent()));
 }