private void RenderAppenderLogDatum(LogDatum logDatum, TextWriter writer) { if (!String.IsNullOrEmpty(logDatum.Message)) writer.Write(logDatum.Message + " "); if (!String.IsNullOrEmpty(logDatum.GroupName)) writer.Write("Groupname: {0}, ", logDatum.GroupName); if (!String.IsNullOrEmpty(logDatum.GroupName)) writer.Write("Streamname: {0}, ", logDatum.StreamName); if (logDatum.Timestamp != null) writer.Write("Timestamp: {0}, ", logDatum.Timestamp.Value.ToString(CultureInfo.CurrentCulture)); }
private void RenderAppenderLogDatum(LogDatum logDatum, TextWriter writer) { if (!String.IsNullOrEmpty(logDatum.Message)) { writer.Write(logDatum.Message + " "); } if (!String.IsNullOrEmpty(logDatum.GroupName)) { writer.Write("Groupname: {0}, ", logDatum.GroupName); } if (!String.IsNullOrEmpty(logDatum.GroupName)) { writer.Write("Streamname: {0}, ", logDatum.StreamName); } if (logDatum.Timestamp != null) { writer.Write("Timestamp: {0}, ", logDatum.Timestamp.Value.ToString(CultureInfo.CurrentCulture)); } }