diff --git a/aspnetcore/blazor/fundamentals/logging.md b/aspnetcore/blazor/fundamentals/logging.md index 6f61c392fb..2a7ced5599 100644 --- a/aspnetcore/blazor/fundamentals/logging.md +++ b/aspnetcore/blazor/fundamentals/logging.md @@ -49,7 +49,7 @@ Inject an to add a `WebAssem Add the namespace for and inject an into the component: -```csharp +```razor @using Microsoft.Extensions.Logging @inject ILoggerProvider LoggerProvider ``` @@ -129,7 +129,7 @@ Inject an to add a `WebAssem Add the namespace for and inject an into the component: -```csharp +```razor @using Microsoft.Extensions.Logging @inject ILoggerProvider LoggerProvider ``` @@ -209,7 +209,7 @@ Inject an to add a `WebAssem Add the namespace for and inject an into the component: -```csharp +```razor @using Microsoft.Extensions.Logging @inject ILoggerProvider LoggerProvider ```