Frontmatec.Extensions.Logging.Loki
1.0.21
dotnet add package Frontmatec.Extensions.Logging.Loki --version 1.0.21
NuGet\Install-Package Frontmatec.Extensions.Logging.Loki -Version 1.0.21
<PackageReference Include="Frontmatec.Extensions.Logging.Loki" Version="1.0.21" />
<PackageVersion Include="Frontmatec.Extensions.Logging.Loki" Version="1.0.21" />
<PackageReference Include="Frontmatec.Extensions.Logging.Loki" />
paket add Frontmatec.Extensions.Logging.Loki --version 1.0.21
#r "nuget: Frontmatec.Extensions.Logging.Loki, 1.0.21"
#:package Frontmatec.Extensions.Logging.Loki@1.0.21
#addin nuget:?package=Frontmatec.Extensions.Logging.Loki&version=1.0.21
#tool nuget:?package=Frontmatec.Extensions.Logging.Loki&version=1.0.21
Frontmatec.Logging
Custom logging extensions for .NET applications.
Frontmatec.Extensions.Logging.Console
Simple console logger with clean output formatting.
Installation
dotnet add package Frontmatec.Extensions.Logging.Console
Usage
builder.Logging.AddFrontmatecConsole();
Frontmatec.Extensions.Logging.File
File-based logger with rolling file support and customizable file naming.
Installation
dotnet add package Frontmatec.Extensions.Logging.File
Usage
builder.Logging.AddFrontmatecFile();
Or with options:
builder.Logging.AddFrontmatecFile(options =>
{
options.FileName = "logs/app.log";
options.FileSizeLimit = "10MB";
options.RollOnFileSizeLimit = true;
options.RetainedFileCountLimit = 5;
});
Configuration
{
"Logging": {
"LogLevel": {
"Default": "Information"
},
"File": {
"FileName": "logs/app.log",
"FileSizeLimit": "10MB",
"RollOnFileSizeLimit": true,
"RetainedFileCountLimit": 5
}
}
}
Advanced Configuration
{
"Logging": {
"File": {
"FileName": "logs/app-%APP_INSTANCE_ID%.log",
"FileSizeLimit": "10MB",
"RollOnFileSizeLimit": true,
"RetainedFileCountLimit": 5
}
}
}
FileName
Log file path. Defaults to {EntryAssemblyName}.log in the application directory.
- Non-rooted paths are resolved relative to
AppContext.BaseDirectory - Supports environment variables using standard Windows/Linux syntax (e.g.,
%AppData%\logs\app.log):%APP_INSTANCE_ID%- Unique 12-character hash generated from the application location and command-line arguments%APP_PID%- Current process ID%DOTNET_ENVIRONMENT%- Runtime environment name (Development, Staging, Production, etc.). Defaults to "Production" if not set
FileSizeLimit
Maximum file size before rolling. Default: "1MB"
Supported formats: "10KB", "5MB", "1GB", or plain numbers (treated as MB)
RollOnFileSizeLimit
Enable automatic file rolling when size limit is reached. Default: true
When enabled, the current log file is renamed with a numeric suffix and a new file is created.
RetainedFileCountLimit
Number of rolled log files to retain. Default: 1
Rolled files are named with incremental suffixes (e.g., app-1.log, app-2.log, app-3.log)
| Product | Versions 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 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 is compatible. 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. |
-
net6.0
- Microsoft.Extensions.Logging.Configuration (>= 8.0.0)
-
net8.0
- Microsoft.Extensions.Logging.Configuration (>= 8.0.0)
-
net9.0
- Microsoft.Extensions.Logging.Configuration (>= 8.0.0)
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 |
|---|---|---|
| 1.0.21 | 325 | 11/20/2025 |
| 1.0.20 | 326 | 11/20/2025 |
| 1.0.19 | 337 | 6/12/2025 |
| 1.0.18 | 326 | 6/12/2025 |
| 1.0.17 | 339 | 3/11/2025 |
| 1.0.16 | 210 | 3/11/2025 |
| 1.0.15 | 231 | 3/10/2025 |
| 1.0.14 | 269 | 3/6/2025 |
| 1.0.12 | 263 | 3/6/2025 |
| 1.0.11 | 276 | 3/6/2025 |
| 1.0.10 | 187 | 12/10/2024 |
| 1.0.9 | 160 | 12/10/2024 |
| 1.0.8 | 485 | 2/29/2024 |
| 1.0.7 | 544 | 9/8/2023 |
| 1.0.6 | 538 | 9/8/2023 |
| 1.0.5 | 898 | 11/15/2022 |
| 1.0.4 | 972 | 10/7/2022 |
| 1.0.3 | 963 | 10/7/2022 |
| 1.0.2 | 1,030 | 3/7/2022 |
| 1.0.1 | 873 | 12/2/2021 |
| 1.0.0 | 876 | 11/15/2021 |
| 0.0.2 | 855 | 11/3/2021 |
| 0.0.1 | 858 | 5/26/2021 |