Skip to content

Commit

Permalink
Version 1.2.2 bump
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliyMF committed Nov 18, 2024
1 parent 2396077 commit e975caa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NReco.Logging.File
Simple and efficient file logger provider for .NET Core (any version) / NET6 / NET8 without additional dependencies.
Simple and efficient file logger provider for NET6 / NET8 / NET9 without any additional dependencies.

NuGet | Tests
--- | ---
Expand All @@ -10,6 +10,7 @@ NuGet | Tests
* supports a 'rolling file' behaviour and can control total log size
* it is possible to change log file name on-the-fly
* suitable for intensive concurrent usage: has internal message queue to avoid threads blocking
* optimized low-allocation default log messages formatting suitable for intensive usage

## How to use
Add *NReco.Logging.File* package reference and initialize a file logging provider in `services.AddLogging` (Startup.cs):
Expand Down Expand Up @@ -113,6 +114,6 @@ A new file name is applied in the same way as when it comes from the initial `Fi


## License
Copyright 2017-2023 Vitaliy Fedorchenko and contributors
Copyright 2017-2024 Vitaliy Fedorchenko and contributors

Distributed under the MIT license
8 changes: 6 additions & 2 deletions src/NReco.Logging.File/NReco.Logging.File.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ More details and examples: https://github.com/nreco/logging
<Title>NET8/ NET6 / .NET Core file logger provider.</Title>
<Copyright>Copyright (c) 2017-2024 Vitalii Fedorchenko and contributors</Copyright>
<AssemblyTitle>NReco.Logging.File</AssemblyTitle>
<VersionPrefix>1.2.1</VersionPrefix>
<Authors>Vitalii Fedorchenko</Authors>
<VersionPrefix>1.2.2</VersionPrefix>
<Authors>Vitalii Fedorchenko and contributors</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
<LangVersion>12.0</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -29,6 +29,10 @@ More details and examples: https://github.com/nreco/logging
<PackageLicenseUrl>https://raw.githubusercontent.com/nreco/logging/master/LICENSE</PackageLicenseUrl>
<PackageReleaseNotes>How to use: https://github.com/nreco/logging

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)

Expand Down

0 comments on commit e975caa

Please sign in to comment.