public override string ToString() { return(string.Format(DefaultNumberedMessageFormat, ThreadHashCode.ToString(), ThreadId.ToString(), ApplicationName, ProcessId, Utc.ToShortDateString(), Utc.ToShortTimeString(), Message)); }
public override string ToString() { object names = new { ThreadHashCode = ThreadHashCode.ToString(), ThreadId = ThreadId.ToString(), ApplicationName = ApplicationName, ProcessId = ProcessId.ToString(), UtcShortDate = Utc.ToShortDateString(), UtcShortTime = Utc.ToShortTimeString(), Message = Message }; return(NamedMessageFormat.NamedFormat(names)); }