chore: force .log extension to log files
This commit is contained in:
@@ -14,6 +14,9 @@ public class FileLogger : LoggerBase
|
||||
|
||||
public FileLogger(string filePath)
|
||||
{
|
||||
if (!filePath.EndsWith(".log"))
|
||||
filePath += ".log";
|
||||
|
||||
FilePath = filePath;
|
||||
|
||||
bool isRelativePath = Path.GetFullPath(filePath).CompareTo(filePath) != 0;
|
||||
|
Reference in New Issue
Block a user