TCIS.Logging 1.0.1-rc.2

This is a prerelease version of TCIS.Logging.
dotnet add package TCIS.Logging --version 1.0.1-rc.2
                    
NuGet\Install-Package TCIS.Logging -Version 1.0.1-rc.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="TCIS.Logging" Version="1.0.1-rc.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TCIS.Logging" Version="1.0.1-rc.2" />
                    
Directory.Packages.props
<PackageReference Include="TCIS.Logging" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TCIS.Logging --version 1.0.1-rc.2
                    
#r "nuget: TCIS.Logging, 1.0.1-rc.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.
#:package TCIS.Logging@1.0.1-rc.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TCIS.Logging&version=1.0.1-rc.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TCIS.Logging&version=1.0.1-rc.2&prerelease
                    
Install as a Cake Tool

TCIS.Logging

The core library providing foundational abstractions and infrastructure for the Logging system across all TCIS applications.

🌟 Overview

TCIS.Logging serves as the standard logging framework, integrated with IWorkContext to capture user and trace information, while utilizing a Channel mechanism for high-performance, asynchronous (non-blocking) logging.

📦 Installation

Install the package via NuGet or .NET CLI:

dotnet add package TCIS.Logging

⚙️ Configuration (appsettings.json)

You can configure the queue limit for the Background Logging Process:

{
  "TLogSettings": {
    "MaxQueueSize": 10000
  }
}

🚀 Usage

In Program.cs, add the Logging service to the DI container:

using TCIS.Logging.Extensions;

var builder = WebApplication.CreateBuilder(args);

// Method 1: Read from IConfiguration (default section: "TLogSettings")
builder.Services.AddTLogging(builder.Configuration);

// Method 2: Configure via Action
builder.Services.AddTLogging(options => 
{
    options.MaxQueueSize = 5000;
});

// (Optional) Add Console Sink to display formatted logs in Development
if (builder.Environment.IsDevelopment())
{
    builder.Services.AddTCISConsoleSink();
}

💡 Basic Example

Use ILogWriter (do not use ILogger directly from Microsoft Logging to comply with TCIS rules) in your services:

using TCIS.Logging.Abstractions.Abstractions;

public class MyService
{
    private readonly ILogWriter _logger;
    private const string Provider = "my-service";

    public MyService(ILogWriter logger)
    {
        _logger = logger;
    }

    public async Task DoWorkAsync()
    {
        _logger.LogInformation(
            $"[{Provider}] DoWorkAsync: Processing data...", 
            nameof(DoWorkAsync), 
            new { Step = 1, Data = "Sample" }
        );
    }
}
Product 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 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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 was computed. 
.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.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on TCIS.Logging:

Package Downloads
TCIS.AspNetCore

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. ASP.NET Core integration for TCIS Framework.

TCIS.Http

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. HTTP client extensions and utilities for TCIS Framework.

TCIS.Http.Grpc

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. gRPC client and server integration for TCIS Framework.

TCIS.Logging.Autofac

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Autofac integration for TCIS Logging.

TCIS.Logging.Serilog

TCIS Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Serilog integration for TCIS Logging.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1-rc.2 8 10/5/2026
1.0.1-rc.1 35 10/5/2026
1.0.0 140 10/1/2026
1.0.0-rc.52 113 9/29/2026
1.0.0-rc.51 125 9/23/2026
1.0.0-rc.50 125 9/21/2026
1.0.0-rc.49 133 9/18/2026
1.0.0-rc.47 121 9/17/2026
1.0.0-rc.46 128 9/17/2026
1.0.0-rc.45 178 9/11/2026
1.0.0-rc.44 147 9/10/2026
1.0.0-rc.43 102 9/10/2026
1.0.0-rc.42 137 9/9/2026
1.0.0-rc.41 138 9/9/2026
1.0.0-rc.40 151 9/8/2026
1.0.0-rc.39 127 9/3/2026
1.0.0-rc.38 124 9/3/2026
1.0.0-rc.37 125 8/27/2026
1.0.0-rc.36 141 8/27/2026
1.0.0-rc.35 126 8/26/2026
Loading failed