[This is preliminary documentation and is subject to change.]

Logs and reports a crash or an unhandled exception. Details are logged, and a crash report may be submitted to fCraft.net. Note that this method may take several seconds to finish, since it gathers system information and possibly communicates to fCraft.net.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static void LogAndReportCrash(
	string message,
	string assembly,
	Exception exception,
	bool shutdownImminent
)

Parameters

message
String
Description/context of the crash. May be null if unknown.
assembly
String
Assembly or component where the crash/exception was caught. May be null if unknown.
exception
Exception
Exception. May be null.
shutdownImminent
Boolean
Whether this crash will likely report in a server shutdown. Used for Logger.Crashed event.

See Also