/// <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()));
}