![]() |
VOOZH | about |
dotnet add package NReco.Logging.File --version 1.3.1
NuGet\Install-Package NReco.Logging.File -Version 1.3.1
<PackageReference Include="NReco.Logging.File" Version="1.3.1" />
<PackageVersion Include="NReco.Logging.File" Version="1.3.1" />Directory.Packages.props
<PackageReference Include="NReco.Logging.File" />Project file
paket add NReco.Logging.File --version 1.3.1
#r "nuget: NReco.Logging.File, 1.3.1"
#:package NReco.Logging.File@1.3.1
#addin nuget:?package=NReco.Logging.File&version=1.3.1Install as a Cake Addin
#tool nuget:?package=NReco.Logging.File&version=1.3.1Install as a Cake Tool
Lightweight file logging provider implementation for NET6 / NET8 / NET10+ .NET Core without dependencies on logging frameworks.
How to use:
using NReco.Logging.File;
services.AddLogging(loggingBuilder => {
loggingBuilder.AddFile("app.log", append:true);
});
More details and examples: https://github.com/nreco/logging
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on NReco.Logging.File:
| Package | Downloads |
|---|---|
|
SpecDrill.Infrastructure
SpecDrill.Infrastructure |
|
|
Nickvision.Desktop
A cross-platform base for Nickvision desktop applications. |
|
|
RhoMicro.ApplicationFramework.Hosting
Provides base abstractions and mechanisms for various application hosting models. |
|
|
Envivo.Fresnel
For building interactive rapid prototypes for DDD projects. Create your domain model using .NET classes, and let Fresnel render them into an interactive prototype. |
|
|
Envivo.Fresnel.WebAssembly
For building interactive rapid prototypes for DDD projects. Create your domain model using .NET classes, and let Fresnel render them into an interactive prototype. |
Showing the top 8 popular GitHub repositories that depend on NReco.Logging.File:
| Repository | Stars |
|---|---|
|
NickvisionApps/Parabolic
Download web video and audio
|
|
|
belav/csharpier
CSharpier is an opinionated code formatter for c#.
|
|
|
thomhurst/ModularPipelines
Write your pipelines in C# !
|
|
|
ChromaControl/ChromaControl
3rd party device lighting support for Razer Synapse.
|
|
|
serverlessworkflow/synapse
Serverless Workflow Management System (WFMS)
|
|
|
IvanJosipovic/KubeUI
Kubernetes User Interface
|
|
|
ingen084/KyoshinEewViewerIngen
Custom client for Kyoshin Monitor
|
|
|
Myster-Tee/TinfoilWebServer
Install your packages from your own server
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.1 | 111,656 | 11/19/2025 |
| 1.3.0 | 2,142 | 11/17/2025 |
| 1.2.2 | 389,647 | 11/18/2024 |
| 1.2.1 | 226,897 | 6/5/2024 |
| 1.2.0 | 293,808 | 12/24/2023 |
| 1.1.7 | 185,590 | 9/25/2023 |
| 1.1.6 | 164,692 | 2/10/2023 |
| 1.1.5 | 197,743 | 5/17/2022 |
| 1.1.4 | 101,068 | 1/28/2022 |
| 1.1.3 | 19,742 | 12/22/2021 |
| 1.1.2 | 106,913 | 7/22/2021 |
| 1.1.1 | 141,895 | 11/9/2020 |
| 1.1.0 | 8,984 | 10/19/2020 |
| 1.0.5 | 72,754 | 2/18/2020 |
| 1.0.4 | 94,540 | 1/11/2018 |
| 1.0.3 | 8,417 | 10/11/2017 |
| 1.0.2 | 2,518 | 9/13/2017 |
| 1.0.1 | 6,613 | 5/17/2017 |
| 1.0.0 | 3,200 | 5/14/2017 |
How to use: https://github.com/nreco/logging
Version 1.3.1 changes:
- return netstandard2.0 as .NET Framework apps need it
Version 1.3.0 changes:
- added NET10 target
- Avoided Caching FileLoggerProvider instance in AddFile() registration extension method. (#80)
Version 1.2.2 changes:
- Reduce heap allocation of the default log message formatting logic in the FileLogger.Log #74
- Explicitly specifying FileShare.Read option when opening the file stream (#72)
Version 1.2.1 changes:
- Added different rolling name conventions #66 (unix-style is supported with 'Descending' convention)
Version 1.2.0 changes:
- NReco's FileLoggerExtensions should NOT be in the Microsoft.Extensions.Logging namespace #61
- Added net6 and net8 builds to reference appropriate Microsoft.Logging.Extensions versions
Version 1.1.7 changes:
- bugfix: App deadlock on FileLoggerProvider.WriteEntry #57
Version 1.1.6 changes:
- added ILoggerFactory.AddFile(string fileName, Action<FileLoggerOptions> configure) extension method
- now AddFile methods that accept IConfiguration may use it as a "File" section (only if there is no "File" sub-section) #50
- removed legacy netstandard1.3 build
Version 1.1.5 changes:
- added FileLoggerOptions.FilterLogEntry (custom predicate to filter log entries) #41
Version 1.1.4 changes:
- added FileLoggerOptions.UseUtcTimestamp to use UTC timestamp in the default log entry formatter #36
Version 1.1.3 changes:
- added FileLoggerOptions.HandleFileError for app-specific handling of File.Open exceptions (file is used by another process etc)
Version 1.1.2 changes:
- changed default FileLoggingProvider.MinLevel from Debug to Trace #26
- added FileLoggerOptions.MinLevel + ability to specify "MinLevel" in the configuration section
Version 1.1.1 changes:
- added 'logName' for FileLoggerOptions.FormatLogEntry context #15
Version 1.1.0 changes:
- added the ability to customize log file name on-the-fly with "FormatLogFileName" handler
Version 1.0.5 changes:
- log file folder is created automatically if not exists
- environment variables are expanded in the file path
Version 1.0.4 changes:
- added "File" provider alias for MVC Core 2 filtering rules
- added 'rolling file' behaviour controlled with new FileLoggerProvider properties (FileSizeLimitBytes and MaxRollingFiles)