From 98e88d973d2ad70781993f74a416c13dec06d2a3 Mon Sep 17 00:00:00 2001 From: guardrex <1622880+guardrex@users.noreply.github.com> Date: Sat, 25 Feb 2023 04:15:48 -0600 Subject: [PATCH] Location of SignalR client builder --- aspnetcore/blazor/fundamentals/logging.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/aspnetcore/blazor/fundamentals/logging.md b/aspnetcore/blazor/fundamentals/logging.md index 98a2cb46bb53..92725f7fb73c 100644 --- a/aspnetcore/blazor/fundamentals/logging.md +++ b/aspnetcore/blazor/fundamentals/logging.md @@ -613,7 +613,23 @@ A hosted Blazor WebAssembly app that [prerenders its content](xref:blazor/compon ## SignalR client logging (Blazor Server) -On the client builder in `Pages/_Layout.cshtml`, pass in the `configureSignalR` configuration object that calls `configureLogging` with the log level. +:::moniker range=">= aspnetcore-7.0" + +On the SignalR client builder in `Pages/_Host.cshtml`, pass in the `configureSignalR` configuration object that calls `configureLogging` with the log level. + +:::moniker-end + +:::moniker range=">= aspnetcore-6.0 < aspnetcore-7.0" + +On the SignalR client builder in `Pages/_Layout.cshtml`, pass in the `configureSignalR` configuration object that calls `configureLogging` with the log level. + +:::moniker-end + +:::moniker range="< aspnetcore-6.0" + +On the SignalR client builder in `Pages/_Host.cshtml`, pass in the `configureSignalR` configuration object that calls `configureLogging` with the log level. + +:::moniker-end For the `configureLogging` log level value, pass the argument as either the string or integer log level shown in the following table.