NLog.LayoutTypedExtensions public static class LayoutTypedExtensions Extensions for NLog Layout<T>. Documentation public static T RenderValue<T>(this Layout<T> layout, LogEventInfo logEvent, T defaultValue = null) Renders the logevent into a result-value by using the provided layout