From 629fd55e1fafef7eb27995a3c3481fdac3785f82 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Tue, 3 May 2022 09:04:54 -0500 Subject: [PATCH] add logging --- Tesses.YouTubeDownloader/Logging.cs | 2 ++ Tesses.YouTubeDownloader/Tesses.YouTubeDownloader.csproj | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Tesses.YouTubeDownloader/Logging.cs b/Tesses.YouTubeDownloader/Logging.cs index 6189a73..2e59720 100644 --- a/Tesses.YouTubeDownloader/Logging.cs +++ b/Tesses.YouTubeDownloader/Logging.cs @@ -72,6 +72,8 @@ namespace Tesses.YouTubeDownloader } internal Logger(TYTDStorage storage) { + storage.CreateDirectoryIfNotExist("config"); + storage.CreateDirectoryIfNotExist("config/log"); Properties = GetProperties(storage); _storage=storage; diff --git a/Tesses.YouTubeDownloader/Tesses.YouTubeDownloader.csproj b/Tesses.YouTubeDownloader/Tesses.YouTubeDownloader.csproj index e1e02ce..1920b68 100644 --- a/Tesses.YouTubeDownloader/Tesses.YouTubeDownloader.csproj +++ b/Tesses.YouTubeDownloader/Tesses.YouTubeDownloader.csproj @@ -7,9 +7,9 @@ Tesses.YouTubeDownloader Mike Nolan Tesses - 1.0.2.1 - 1.0.2.1 - 1.0.2.1 + 1.0.2.2 + 1.0.2.2 + 1.0.2.2 A YouTube Downloader LGPL-3.0-only true