![]() |
VOOZH | about |
dotnet add package Serilog.Sinks.Observable --version 3.0.0
NuGet\Install-Package Serilog.Sinks.Observable -Version 3.0.0
<PackageReference Include="Serilog.Sinks.Observable" Version="3.0.0" />
<PackageVersion Include="Serilog.Sinks.Observable" Version="3.0.0" />Directory.Packages.props
<PackageReference Include="Serilog.Sinks.Observable" />Project file
paket add Serilog.Sinks.Observable --version 3.0.0
#r "nuget: Serilog.Sinks.Observable, 3.0.0"
#:package Serilog.Sinks.Observable@3.0.0
#addin nuget:?package=Serilog.Sinks.Observable&version=3.0.0Install as a Cake Addin
#tool nuget:?package=Serilog.Sinks.Observable&version=3.0.0Install as a Cake Tool
Write Serilog events to observers (Rx) through an IObservable.
Install the package from NuGet:
Install-Package Serilog.Sinks.Observable
Configure Serilog using WriteTo.Observers:
Log.Logger = new LoggerConfiguration()
.WriteTo.Observers(events => events
.Do(evt => {
Console.WriteLine($"Observed event {evt}");
})
.Subscribe())
.CreateLogger();
Log.Information("Hello, observers!");
Log.CloseAndFlush();
More information about using Serilog is available in the Serilog Documentation.
Copyright © 2016 Serilog Contributors - Provided under the Apache License, Version 2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 is compatible. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Serilog.Sinks.Observable:
| Package | Downloads |
|---|---|
|
Rocket.Surgery.Extensions.Testing
Package Description |
|
|
Rocket.Surgery.Extensions.Serilog
Package Description |
|
|
Rocket.Surgery.LaunchPad.Hosting
Package Description |
|
|
ProReception.DistributionServerInfrastructure
Package Description |
|
|
Rocket.Surgery.LaunchPad.WebAssembly.Hosting
Package Description |
Showing the top 11 popular GitHub repositories that depend on Serilog.Sinks.Observable:
| Repository | Stars |
|---|---|
|
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
|
|
|
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
|
|
|
WOA-Project/WOA-Deployer-Rpi
WOA Deployer for Raspberry Pi
|
|
|
damianh-archive/LibLog
LibLog is a single file for you to either copy/paste or install via nuget, into your library/framework/application to provide a logging abstraction.
|
|
|
WOA-Project/WoA-Installer-Rpi
This repository was deprecated, use:
|
|
|
OmniSharp/csharp-language-server-protocol
Language Server Protocol in C#
|
|
|
DataDog/dd-trace-dotnet
.NET Client Library for Datadog APM
|
|
|
WOA-Project/WOA-Deployer-Lumia
Making your Lumias great again!
|
|
|
SQLStreamStore/SQLStreamStore
Stream Store library targeting RDBMS based implementations for .NET
|
|
|
container-desktop/container-desktop
Provides an alternative for Docker for Desktop on Windows using WSL2.
|
|
|
kurrent-io/KurrentDB-Client-Dotnet
KurrentDB .NET Client
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 589,158 | 6/28/2024 |
| 3.0.0-dev-00716 | 279 | 6/28/2024 |
| 2.0.3-dev-00712 | 10,579 | 9/23/2018 |
| 2.0.2 | 1,535,231 | 11/14/2017 |
| 2.0.2-dev-00707 | 1,238 | 11/4/2017 |
| 2.0.1 | 894,272 | 10/5/2016 |
| 2.0.0 | 21,128 | 6/29/2016 |
| 2.0.0-beta-700 | 1,356 | 3/23/2016 |
| 2.0.0-beta-519 | 1,428 | 3/16/2016 |
| 2.0.0-beta-516 | 1,294 | 3/15/2016 |
| 2.0.0-beta-513 | 1,279 | 3/15/2016 |
| 2.0.0-beta-511 | 1,263 | 3/14/2016 |
| 2.0.0-beta-509 | 1,274 | 3/13/2016 |
| 2.0.0-beta-507 | 1,274 | 3/1/2016 |
| 2.0.0-beta-505 | 1,475 | 2/25/2016 |
| 2.0.0-beta-502 | 1,346 | 2/22/2016 |
| 2.0.0-beta-499 | 1,310 | 2/21/2016 |
| 2.0.0-beta-495 | 1,313 | 2/19/2016 |
| 2.0.0-beta-494 | 1,316 | 2/18/2016 |