From e975caa87696c4be3e337561e98f8b4afe686b96 Mon Sep 17 00:00:00 2001 From: Vitalii Fedorchenko Date: Mon, 18 Nov 2024 15:13:18 +0200 Subject: [PATCH] Version 1.2.2 bump --- README.md | 5 +++-- src/NReco.Logging.File/NReco.Logging.File.csproj | 8 ++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7cecddd..a696d2c 100644 --- a/README.md +++ b/README.md @@ -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 --- | --- @@ -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): @@ -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 diff --git a/src/NReco.Logging.File/NReco.Logging.File.csproj b/src/NReco.Logging.File/NReco.Logging.File.csproj index dcd8e72..595845d 100644 --- a/src/NReco.Logging.File/NReco.Logging.File.csproj +++ b/src/NReco.Logging.File/NReco.Logging.File.csproj @@ -16,8 +16,8 @@ More details and examples: https://github.com/nreco/logging NET8/ NET6 / .NET Core file logger provider. Copyright (c) 2017-2024 Vitalii Fedorchenko and contributors NReco.Logging.File - 1.2.1 - Vitalii Fedorchenko + 1.2.2 + Vitalii Fedorchenko and contributors netstandard2.0;netstandard2.1;net6.0;net8.0 12.0 true @@ -29,6 +29,10 @@ More details and examples: https://github.com/nreco/logging https://raw.githubusercontent.com/nreco/logging/master/LICENSE 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)