Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Writes a formatted fatal-level message with its source location.

API: scripting
Project: Inno.Core.Logging
Scope: Runtime

public static void InnoEngine.Logging.Log.Fatal(System.Type sourceType, string message, System.Collections.Generic.IReadOnlyList<object?>? arguments, string filePath = "", int lineNumber = 0)

Parameter sourceType: The declaring type whose assembly supplies domain and scope metadata; it is borrowed only for this call.

Parameter message: The composite format string or final message.

Parameter arguments: Optional composite-format arguments; null preserves the message verbatim.

Parameter filePath: The source file supplied by the compiler; its file name is the category.

Parameter lineNumber: The source line supplied by the compiler.

Exception T:System.FormatException: The composite format string is invalid for the supplied arguments.

Exception T:System.ArgumentNullException: The source type is null.

Exception T:System.InvalidOperationException: The source assembly lacks valid domain or scope metadata.