Skip to content

Commit

Permalink
Location of SignalR client builder (dotnet#28498)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored and Donciavas committed Feb 7, 2024
1 parent 9651d20 commit 45ebb50
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion aspnetcore/blazor/fundamentals/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 45ebb50

Please sign in to comment.