Synced
Log.Warn
Section titled “Log.Warn”
- Writes a formatted warn-level message with its source location.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public static void Inno.Core.Logging.Log.Warn(System.Type sourceType, string message, System.Collections.Generic.IReadOnlyList<object?>? arguments, 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 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.
Exceptions
Section titled “Exceptions”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.