MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / LogException

Method LogException

Source/Engine/Engine/Debug.cs:239–248  ·  view source on GitHub ↗

A variant of Debug.Info that logs an error message to the console. Runtime Exception.

(Exception exception)

Source from the content-addressed store, hash-verified

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.

Callers 6

NewObjectMethod · 0.45
GetObjectStringMethod · 0.45
GetObjectHashCodeMethod · 0.45
ObjectInitMethod · 0.45
LoadAssemblyImageMethod · 0.45
ScriptingObjectCreateMethod · 0.45

Calls 1

LogWarningFunction · 0.85

Tested by

no test coverage detected