Description:
Move some test use of Spy to debug.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -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 |
You need to be logged in to leave comments.
Login now