From 99ed9af50ca89ff282587348eb526ba5ef4d54d9 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 28 Feb 2024 00:33:01 +0100 Subject: [PATCH] Filepaths --- GlaxLogger/GlaxLogger.csproj | 2 +- GlaxLogger/Logger.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GlaxLogger/GlaxLogger.csproj b/GlaxLogger/GlaxLogger.csproj index 099eaae..afb96b4 100644 --- a/GlaxLogger/GlaxLogger.csproj +++ b/GlaxLogger/GlaxLogger.csproj @@ -7,7 +7,7 @@ Glax https://git.bernloehr.eu/glax/GlaxLogger git - 1.0.7 + 1.0.7.2 diff --git a/GlaxLogger/Logger.cs b/GlaxLogger/Logger.cs index a0f8cb8..ffc64b9 100644 --- a/GlaxLogger/Logger.cs +++ b/GlaxLogger/Logger.cs @@ -6,7 +6,8 @@ namespace GlaxLogger; public class Logger : ILogger, IDisposable, IAsyncDisposable { private LogLevel _filterLevel; - public readonly string LogFilePath, FilteredLogFilePath; + public string LogFilePath { get; init; } + public string FilteredLogFilePath { get; init; } private readonly FileStream _allMessageLogfile, _filteredLogfile; private readonly ConsoleColor _defaultForegroundColor = Console.ForegroundColor; private readonly ConsoleColor _defaultBackgroundColor = Console.BackgroundColor;