Serilog.Sinks.NamedPipe.Reader
2.0.1-ci0002
.NET 7.0
This package targets .NET 7.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
This is a prerelease version of Serilog.Sinks.NamedPipe.Reader.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Serilog.Sinks.NamedPipe.Reader --version 2.0.1-ci0002
NuGet\Install-Package Serilog.Sinks.NamedPipe.Reader -Version 2.0.1-ci0002
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serilog.Sinks.NamedPipe.Reader" Version="2.0.1-ci0002" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.NamedPipe.Reader --version 2.0.1-ci0002
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Serilog.Sinks.NamedPipe.Reader, 2.0.1-ci0002"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serilog.Sinks.NamedPipe.Reader as a Cake Addin #addin nuget:?package=Serilog.Sinks.NamedPipe.Reader&version=2.0.1-ci0002&prerelease // Install Serilog.Sinks.NamedPipe.Reader as a Cake Tool #tool nuget:?package=Serilog.Sinks.NamedPipe.Reader&version=2.0.1-ci0002&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Serilog.Sinks.NamedPipe.Reader
Provides functionality for reading Serilog log events asynchronously from a named pipe.
It's expected that these events would be written by the Serilog.Sinks.NamedPipe Serilog sink but that doesn't necessarily need to be the case.
Getting started
Install the package from NuGet:
dotnet add package Serilog.Sinks.NamedPipe.Reader
Usage
// First you need a factory that provides a pipe to read from
var getPipeConnection = NamedPipeFactories.DefaultClientFactory("pipeName");
// Then create a NamedPipeAsyncReader for reading log events from the pipe
var reader = new NamedPipeAsyncReader(getPipeConnection);
// Asynchronously read log events from the pipe. It will automatically try to reconnect if the pipe is broken, until you cancel the cancellationToken.
await foreach (var msg in reader.ReadAllLogEventsAsync(cancellationToken)) {
Console.WriteLine($"Received log: {msg.RenderMessage()}");
}
License
This library is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 7.0.0)
- Serilog (>= 2.8.0)
- Serilog.Formatting.Compact.Reader (>= 1.0.5)
- Serilog.Sinks.NamedPipe.Factories (>= 2.0.1-ci0002)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
-
.NETStandard 2.1
- Serilog (>= 2.8.0)
- Serilog.Formatting.Compact.Reader (>= 1.0.5)
- Serilog.Sinks.NamedPipe.Factories (>= 2.0.1-ci0002)
-
net7.0
- Serilog (>= 2.8.0)
- Serilog.Formatting.Compact.Reader (>= 1.0.5)
- Serilog.Sinks.NamedPipe.Factories (>= 2.0.1-ci0002)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 95 | 12/18/2024 |
2.0.2-ci0003 | 85 | 12/18/2024 |
2.0.2-ci0002 | 80 | 12/18/2024 |
2.0.1 | 361 | 8/14/2023 |
2.0.1-ci0002 | 130 | 8/14/2023 |
2.0.0 | 174 | 8/14/2023 |
1.1.1-ci0016 | 109 | 8/14/2023 |
1.1.1-ci0015 | 147 | 8/4/2023 |
1.1.1-ci0014 | 122 | 8/4/2023 |
1.1.1-ci0010 | 145 | 8/1/2023 |
1.1.1-ci0009 | 137 | 8/1/2023 |
1.1.1-ci0004 | 124 | 7/31/2023 |