From 406e88987d232510818335eaf8bd879d4d2df6cd Mon Sep 17 00:00:00 2001 From: timerix Date: Wed, 17 Aug 2022 03:25:05 +0600 Subject: [PATCH] LogfilePath --- DTLib/Logging/FileLogger.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DTLib/Logging/FileLogger.cs b/DTLib/Logging/FileLogger.cs index 0a1be81..2e8e374 100644 --- a/DTLib/Logging/FileLogger.cs +++ b/DTLib/Logging/FileLogger.cs @@ -6,7 +6,7 @@ public class FileLogger : IDisposable { public FileLogger(string logfile) { - LogfileName = logfile; + LogfilePath = logfile; LogfileStream = File.OpenAppend(logfile); } @@ -14,7 +14,7 @@ public class FileLogger : IDisposable : this($"{dir}{Путь.Разд}{programName}_{DateTime.Now.ToString(CultureInfo.InvariantCulture)}.log" .Replace(':', '-').Replace(' ', '_')) { } - public string LogfileName { get; protected set; } + public string LogfilePath { get; protected set; } public System.IO.FileStream LogfileStream { get; protected set; } protected string LastLogMessageTime;