API
LogInformation
Writes an information event with a stable template and values.
Formal Syntax & Structure
csharp syntaxcsharp
logger.LogInformation("Order {OrderId}", id)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.logger.LogInformation("Order {OrderId}", id)