Description:
Move some test use of Spy to debug.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r239:2e710d44d50f -

@@ -103,8 +103,6
103 103 var start_x = random_generator.Next(0, 50);
104 104 var start_y = random_generator.Next(0, 50);
105 105
106 Logging.Spy(start_x, nameof(start_x));
107 Logging.Spy(new {start_x, start_y});
108 106
109 107 int max_squares = (message.max_squares == 0) ? DEFAULT_SQUARES : message.max_squares;
110 108 int min_squares = (message.min_squares == null) ? DEFAULT_MIN_SQUARES : (int)message.min_squares;
@@ -19,7 +19,6
19 19 Debug,
20 20 Trace,
21 21 Spy
22
23 22 }
24 23 public class Logging
25 24 {
@@ -160,6 +159,7
160 159 // string message = string.Format("{0} = {1}",
161 160 // value.ToString(), .ToString() );
162 161 // var message = String.Join(", ", (object[])properties);
162 //
163 163
164 164 var properties = new List<string>();
165 165
@@ -165,6 +165,8
165 165 Logging.Debug("Test");
166 166 Logging.Trace("Test");
167 167
168 Logging.Spy(new {debugInfo.cameraPosition, debugInfo.updateTime, test = 9.0f /2});
169
168 170 }
169 171 if (debugInfo.pastFps.Length >= 1)
170 172 {
You need to be logged in to leave comments. Login now