MasterX.Logging.FileSystem 3.1.0

dotnet add package MasterX.Logging.FileSystem --version 3.1.0
                    
NuGet\Install-Package MasterX.Logging.FileSystem -Version 3.1.0
                    
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="MasterX.Logging.FileSystem" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MasterX.Logging.FileSystem" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="MasterX.Logging.FileSystem" />
                    
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 MasterX.Logging.FileSystem --version 3.1.0
                    
#r "nuget: MasterX.Logging.FileSystem, 3.1.0"
                    
#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 MasterX.Logging.FileSystem@3.1.0
                    
#: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=MasterX.Logging.FileSystem&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=MasterX.Logging.FileSystem&version=3.1.0
                    
Install as a Cake Tool

MasterX.Logging.FileSystem

A custom Microsoft.Extensions.Logging provider that writes structured log events to console and per-level files.

Direct registration

using MasterX.Logging.FileSystem.DependencyInjection;

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.Logging.AddMasterXFileSystem(builder.Configuration);
{
  "MasterX": {
    "Logging": {
      "Enabled": true,
      "Provider": "FileSystem"
    }
  },
  "FileSystem": {
    "LogLevels": {
      "Information": "Logs/Information",
      "Warning": "Logs/Warning",
      "Error": "Logs/Error",
      "Critical": "Logs/Critical"
    }
  }
}

The provider writes each configured level to its specified directory and includes the logger category, event identifier, message, exception, and active scopes. It can also be selected through the MasterX.Logging orchestrator.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
3.1.0 0 11/18/2026
3.1.0-preview.789 0 11/17/2026
3.1.0-preview.782 41 11/17/2026
3.0.9-preview.774 59 11/10/2026
3.0.9-preview.772 65 11/10/2026
3.0.8 106 11/9/2026
3.0.8-preview.767 56 11/9/2026
3.0.8-preview.765 57 11/9/2026
3.0.8-preview.763 59 11/9/2026
3.0.8-preview.761 59 11/8/2026
3.0.7-preview.759 62 11/7/2026
3.0.7-preview.757 65 11/6/2026
3.0.7-preview.755 61 11/6/2026
3.0.7-preview.753 60 11/6/2026
3.0.7-preview.750 60 11/6/2026
3.0.6 139 11/6/2026
3.0.6-preview.748 73 11/6/2026
3.0.6-preview.745 71 11/6/2026
3.0.6-preview.741 82 11/5/2026