Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Writes a debug-level message using the object’s string representation.

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

public static void InnoEngine.Logging.Log.Debug(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.