private void AppendValueBytes(ByteArray message, LogEventInfo logEvent, EncodingSet encodings) { var paramValue = paramValuePolicySet.Apply(value.Render(logEvent)); var valueBytes = encodings.Utf8.GetBytes(paramValue); message.Append(valueBytes); }
private void AppendValue(ByteArray message, LogEventInfo logEvent) { var paramValue = paramValuePolicySet.Apply(value.Render(logEvent)); message.AppendUtf8(paramValue); }