Serilog.Sinks.RawConsole 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Serilog.Sinks.RawConsole --version 0.0.2                
NuGet\Install-Package Serilog.Sinks.RawConsole -Version 0.0.2                
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.RawConsole" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.RawConsole --version 0.0.2                
#r "nuget: Serilog.Sinks.RawConsole, 0.0.2"                
#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.RawConsole as a Cake Addin
#addin nuget:?package=Serilog.Sinks.RawConsole&version=0.0.2

// Install Serilog.Sinks.RawConsole as a Cake Tool
#tool nuget:?package=Serilog.Sinks.RawConsole&version=0.0.2                

Serilog.Sinks.RawConsole

Writes Serilog events to console or stream.

Writes by default in UTF-8 encoding, bypassing conversion from UTF-16 and avoiding heap allocations where possible.

Getting started

Install the Serilog.Sinks.RawConsole package from NuGet:

Install-Package Serilog.Sinks.RawConsole

To configure the sink in C# code, call WriteTo.RawConsole() or WriteTo.RawStream during logger configuration:

var log = new LoggerConfiguration()
    .WriteTo.RawConsole()
    .CreateLogger();

Performance

Output is buffered by default.

It is recommended to use Serilog.Sinks.Background package to wrap the file sink and perform all disk access on a background worker thread.

Building from sources

Serilog.Sinks.RawConsole uses source dependency for format strings support without providing an external IBufferWriterFormatter implementation. To build this library either disable UTF8_FORMATTER constant, or place this repository near.

Copyright © 2023 Serilog Contributors - Provided under the Apache License, Version 2.0.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.0.4 2,158 10/28/2023
0.0.3 147 10/28/2023
0.0.2 146 10/27/2023
0.0.1 140 10/27/2023