about summary refs log tree commit diff
path: root/MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs')
-rw-r--r--MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs b/MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs

index 8d99828..0061c1f 100644 --- a/MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs +++ b/MatrixRoomUtils.Bot/Bot/FileStorageProvider.cs
@@ -1,10 +1,13 @@ using System.Text.Json; using MatrixRoomUtils.Core.Extensions; using MatrixRoomUtils.Core.Interfaces.Services; +using Microsoft.Extensions.Logging; namespace MatrixRoomUtils.Bot; public class FileStorageProvider : IStorageProvider { + private readonly ILogger<FileStorageProvider> _logger; + public string TargetPath { get; } /// <summary> @@ -12,6 +15,7 @@ public class FileStorageProvider : IStorageProvider { /// </summary> /// <param name="targetPath"></param> public FileStorageProvider(string targetPath) { + new Logger<FileStorageProvider>(new LoggerFactory()).LogInformation("test"); Console.WriteLine($"Initialised FileStorageProvider with path {targetPath}"); TargetPath = targetPath; if(!Directory.Exists(targetPath)) {