Mercurial > pub > ImplabNet
annotate Implab.Diagnostics.Interactive/TraceViewItem.cs @ 220:42814145d472 v2
.csproj changes
| author | cin | 
|---|---|
| date | Tue, 20 Jun 2017 19:45:52 +0300 | 
| parents | 9c32ef39b851 | 
| children | 
| rev | line source | 
|---|---|
| 45 | 1 using System; | 
| 2 using System.Collections.Generic; | |
| 3 using System.Linq; | |
| 4 using System.Text; | |
| 5 using System.Threading.Tasks; | |
| 6 | |
| 7 namespace Implab.Diagnostics.Interactive { | |
| 47 | 8 public class TraceViewItem { | 
| 9 string m_formattedValue; | |
| 10 | |
| 11 public string Message { get; set; } | |
| 
214
 
9c32ef39b851
Added the time delta column to the interactive trace listener
 
cin 
parents: 
48 
diff
changeset
 | 
12 public int TimeDelta { get; set; } | 
| 47 | 13 public int Timestamp { get; set; } | 
| 14 public int Indent { get; set; } | |
| 15 public int Thread { get; set; } | |
| 48 | 16 public string Channel { get; set; } | 
| 47 | 17 | 
| 18 public string FormattedMessage { | |
| 19 get { | |
| 20 if (m_formattedValue == null) { | |
| 21 m_formattedValue = Message.Replace("\r",String.Empty).Replace("\n", " | "); | |
| 22 } | |
| 23 return m_formattedValue; | |
| 24 } | |
| 25 } | |
| 45 | 26 } | 
| 27 } | 
