Synced
Log.Info
Section titled “Log.Info”
- Writes a info-level message using the object’s string representation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Logging
Scope: Runtime
Declaration
Section titled “Declaration”public static void InnoEngine.Logging.Log.Info(System.Type sourceType, object? obj, string filePath = "", int lineNumber = 0)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The source type is null.
Exception T:System.InvalidOperationException: The source assembly lacks valid domain or scope metadata.