Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Writes a fatal-level message using the object’s string representation.

API: engine
Project: Inno.Core.Logging

public static void Inno.Core.Logging.Log.Fatal(System.Type sourceType, object? obj, 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 obj: The object to log; null produces an empty message.

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.ArgumentNullException: The source type is null.

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