Mercurial > pub > ImplabNet
annotate Implab.Diagnostics.Interactive/TraceViewItem.cs @ 214:9c32ef39b851 v2
Added the time delta column to the interactive trace listener
author | cin |
---|---|
date | Fri, 14 Apr 2017 15:57:23 +0300 |
parents | d9d794b61bb9 |
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 } |