A variant of Debug.Info that logs an error message to the console. Runtime Exception.
(Exception exception)
| 237 | /// </summary> |
| 238 | /// <param name="exception">Runtime Exception.</param> |
| 239 | public static void LogException(Exception exception) |
| 240 | { |
| 241 | Logger.LogException(exception, null); |
| 242 | |
| 243 | if (exception.InnerException != null) |
| 244 | { |
| 245 | LogWarning("Inner exception:"); |
| 246 | LogException(exception.InnerException); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | /// <summary> |
| 251 | /// A variant of Debug.Info that logs an error message to the console. |
no test coverage detected