Synced
Logger.Write
Section titled “Logger.Write”
- Writes one formatted entry with source information captured from the caller.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public void Inno.Core.Logging.Logger.Write(Inno.Core.Logging.LogLevel level, string message, System.Collections.Generic.IReadOnlyList<object?>? arguments = null, string filePath = "", int lineNumber = 0)Parameters
Section titled “Parameters”Parameter level: The severity assigned to the entry.
Parameter message: The composite format string or final message text.
Parameter arguments: Optional composite-format arguments.
Parameter filePath: Source file supplied by the caller information attribute.
Parameter lineNumber: Source line supplied by the caller information attribute.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when message is empty.
Exception T:System.ObjectDisposedException: Thrown after the owning router has been disposed.