示例#1
0
        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);
        }
示例#2
0
        private void AppendValue(ByteArray message, LogEventInfo logEvent)
        {
            var paramValue = paramValuePolicySet.Apply(value.Render(logEvent));

            message.AppendUtf8(paramValue);
        }