metalTools.LoggerLite.Hosting 26.10.11.1

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

metalTools.LoggerLite.Hosting

Optional .NET 10 Generic Host integration. Install this package and call builder.Logging.AddLoggerLite(...). The host owns one buffered logger, also available as ILoggerLite and ILogActivityFeed through dependency injection. Host disposal flushes pending archives; both synchronous and asynchronous disposal are supported.

Standard ILogger<T> filtering remains controlled by Logging:LogLevel and provider-specific Logging:LoggerLite:LogLevel settings. Categories are retained in the category field; severity, event ID, scopes, and full exception details are recorded as message text. Structured template arguments are rendered by the standard formatter, not stored as separately queryable JSON properties. Archives retain the existing LoggerLite schema.

LoggerLiteOptions can be bound with builder.Services.AddOptions<LoggerLiteOptions>().Bind(builder.Configuration.GetSection("LoggerLite")). Options are startup settings, not hot-reloaded. Relative archive paths resolve against the host content root. Set an absolute writable directory for deployed services. The default uses the service account's local application data folder.

Registration does not clear other logging providers or initialize/replace LogManager or Log.It. Existing static callers remain compatible with the core package; migrate hosted callers to injected ILogger<T> or ILoggerLite to share the host-owned buffer. Do not initialize another file logger for the same archive destination.

The provider itself does not own its supplied ILoggerLite destination. The built-in host runtime owns and drains its buffer at host disposal, after shutdown logging. Logging remains bounded and best effort; dropped entries and sink failures retain the core logger's behavior.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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
26.10.11.1 129 10/11/2026
26.10.10.1232 102 10/10/2026