Filepaths

This commit is contained in:
glax 2024-02-28 00:33:01 +01:00
parent 9d55601a27
commit 99ed9af50c
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors>
<RepositoryUrl>https://git.bernloehr.eu/glax/GlaxLogger</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.0.7</Version>
<Version>1.0.7.2</Version>
</PropertyGroup>
<ItemGroup>

View File

@ -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;