NLog.Layouts.SimpleLayout.Evaluate C# (CSharp) Method

Evaluate() public static method

Evaluates the specified text by expanding all layout renderers in new LogEventInfo context.
public static Evaluate ( string text ) : string
text string The text to be evaluated.
return string
        public static string Evaluate(string text)
        {
            return Evaluate(text, LogEventInfo.CreateNullEvent());
        }

Same methods

SimpleLayout::Evaluate ( string text, LogEventInfo logEvent ) : string