Serilog.Sinks.BrowserConsole A console sink for the Blazor/WASM environment. Usage: // dotnet add package Serilog.Sinks.BrowserConsole -v ... Log.Logger = new LoggerConfiguration() .WriteTo.BrowserConsole() .CreateLogger(); Log.Information("Hello, browser!");