NReco.Logging.File 1.1.6

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package NReco.Logging.File --version 1.1.6
NuGet\Install-Package NReco.Logging.File -Version 1.1.6
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="NReco.Logging.File" Version="1.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.Logging.File --version 1.1.6
#r "nuget: NReco.Logging.File, 1.1.6"
#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.
// Install NReco.Logging.File as a Cake Addin
#addin nuget:?package=NReco.Logging.File&version=1.1.6

// Install NReco.Logging.File as a Cake Tool
#tool nuget:?package=NReco.Logging.File&version=1.1.6

Lightweight file logging provider implementation for NET6+ / .NET Core without dependencies on logging frameworks.

How to use:

services.AddLogging(loggingBuilder => {
loggingBuilder.AddFile("app.log", append:true);
});

More details and examples: https://github.com/nreco/logging

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 was computed.  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. 
.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 (4)

Showing the top 4 NuGet packages that depend on NReco.Logging.File:

Package Downloads
SpecDrill.Infrastructure

SpecDrill.Infrastructure

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.WebServer

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.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on NReco.Logging.File:

Repository Stars
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
ChromaControl/ChromaControl
Connectors to integrate 3rd party devices inside of Razer Synapse.
nreco/logging
Generic file logger for .NET Core (FileLoggerProvider) with minimal dependencies
thomhurst/ModularPipelines
Write your pipelines in C# !
Version Downloads Last updated
1.2.0 25,291 12/24/2023
1.1.7 86,689 9/25/2023
1.1.6 97,887 2/10/2023
1.1.5 127,266 5/17/2022
1.1.4 52,327 1/28/2022
1.1.3 17,355 12/22/2021
1.1.2 80,329 7/22/2021
1.1.1 128,732 11/9/2020
1.1.0 6,389 10/19/2020
1.0.5 57,448 2/18/2020
1.0.4 89,752 1/11/2018
1.0.3 7,750 10/11/2017
1.0.2 1,827 9/13/2017
1.0.1 5,901 5/17/2017
1.0.0 1,910 5/14/2017

How to use: https://github.com/nreco/logging

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)