Serilog.Sinks.BrowserConsole
8.0.0
Prefix Reserved
dotnet add package Serilog.Sinks.BrowserConsole --version 8.0.0
NuGet\Install-Package Serilog.Sinks.BrowserConsole -Version 8.0.0
<PackageReference Include="Serilog.Sinks.BrowserConsole" Version="8.0.0" />
paket add Serilog.Sinks.BrowserConsole --version 8.0.0
#r "nuget: Serilog.Sinks.BrowserConsole, 8.0.0"
// Install Serilog.Sinks.BrowserConsole as a Cake Addin #addin nuget:?package=Serilog.Sinks.BrowserConsole&version=8.0.0 // Install Serilog.Sinks.BrowserConsole as a Cake Tool #tool nuget:?package=Serilog.Sinks.BrowserConsole&version=8.0.0
Serilog.Sinks.BrowserConsole
A Serilog sink that takes advantage of the unique features of the browser console in the Blazor/WASM applications.
Versioning: This package tracks the versioning and target framework support of its Microsoft.AspNetCore.Components.WebAssembly dependency. Most users should choose the version of Serilog.Sinks.BrowserConsole that matches their application's target framework. I.e. if you're targeting .NET 7.x, choose a 7.x version of Serilog.Sinks.BrowserConsole. If you're targeting .NET 8.x, choose an 8.x Serilog.Sinks.BrowserConsole version, and so on.
What's it do?
The sink writes log events to the browser console. Unlike the normal Serilog console sink, which writes out formatted text, this sink takes advantage of the unique capabilities of the browser console to print interactive, fully-structured data.
Getting started
Configure the logging pipeline in Program.Main()
:
// dotnet add package Serilog.Sinks.BrowserConsole
Log.Logger = new LoggerConfiguration()
.WriteTo.BrowserConsole()
.CreateLogger();
Log.Information("Hello, browser!");
A more detailed example is available in this repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.AspNetCore.Components.WebAssembly (>= 8.0.7)
- Serilog (>= 4.0.0)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Serilog.Sinks.BrowserConsole:
Package | Downloads |
---|---|
Sitko.Core.Blazor.Wasm
Sitko.Core is a set of libraries to help build .NET Core applications fast |
|
Hexalith.Infrastructure.ClientAppOnWasm
Hexalith is a set of libraries to build a micro-service architecture. |
|
Atlantis.Utility.Web
Package Description |
|
Portfoliostalker.Client
Package Description |
|
Udx.App
UdxFramework框架的Blazor项目公共UI类库 |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on Serilog.Sinks.BrowserConsole:
Repository | Stars |
---|---|
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
|
|
alugili/ModernArchitectureShop
The Microservices Online Shop is an application with a modern software architecture that is cleanly designed and based on.NET lightweight technologies. The shop has two build variations. The first variant is the classic Microservices Architectural Style. The second one is with Dapr. Dapr has a comprehensive infrastructure for building highly decoupled Microservices; for this reason, I am using Dapr to achieve the noble goal of building a highly scalable application with clean architecture and clean code.
|
|
adambajguz/Typin
Declarative framework for interactive CLI applications
|
|
datalust/serilog-sinks-seq
A Serilog sink that writes events to the Seq structured log server
|
|
sitkoru/Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
|
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 65,402 | 7/12/2024 |
8.0.0-dev-00065 | 114 | 7/12/2024 |
2.0.0 | 212,271 | 10/26/2023 |
2.0.0-dev-00061 | 132 | 10/26/2023 |
2.0.0-dev-00057 | 4,761 | 4/24/2023 |
2.0.0-dev-00053 | 9,008 | 11/9/2022 |
1.0.1-dev-00045 | 31,037 | 1/19/2022 |
1.0.0 | 459,820 | 5/11/2021 |
1.0.0-dev-00037 | 701 | 5/10/2021 |
1.0.0-dev-00035 | 277 | 5/10/2021 |
1.0.0-dev-00034 | 1,232 | 5/10/2021 |
1.0.0-dev-00031 | 286 | 5/10/2021 |
1.0.0-dev-00026 | 285 | 5/10/2021 |
1.0.0-dev-00019 | 22,120 | 9/24/2020 |
1.0.0-dev-00016 | 290 | 9/22/2020 |
1.0.0-dev-00012 | 19,193 | 9/28/2019 |
1.0.0-dev-00009 | 722 | 10/8/2018 |
1.0.0-dev-00007 | 645 | 10/8/2018 |
1.0.0-dev-00005 | 683 | 10/7/2018 |
1.0.0-dev-00003 | 985 | 10/7/2018 |