API

LogWarning

Writes a warning event subject to filter rules.

Formal Syntax & Structure

csharp syntaxcsharp
logger.LogWarning("Count {Count}", count)

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.logger.LogWarning("Count {Count}", count)
C# & .NET Reference