Description:
Tweaking logging.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r395:6ee4d41ab069 -

@@ -98,10 +98,14
98 98
99 99 if (attempts >= maxAttempts && squares.Count < max_size)
100 100 {
101 Logging.Warning(string.Format("Failed to generate enough squares. {0} were requested, only {1} were found ({2} attempts)", max_size, squares.Count, attempts));
101 Logging.Debug(string.Format("Attempt to generate enough squares failed. {0} were requested, only {1} were found ({2} attempts)", max_size, squares.Count, attempts));
102 102 break;
103 103 }
104 104 }
105 if (squares.Count > max_size)
106 {
107 Logging.Info(string.Format("Successfully generated enough squares. {0} squares were requested, {1} were found ({2} attempts).", max_size, squares.Count, attempts));
108 }
105 109 return squares.ToArray();
106 110 }
107 111
You need to be logged in to leave comments. Login now