Mercurial > pub > ImplabNet
annotate Implab.Diagnostics.Interactive/TraceViewItem.cs @ 243:b1e0ffdf3451 v3
working on promises
author | cin |
---|---|
date | Wed, 24 Jan 2018 19:24:10 +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 } |