From eaedfac34ab2975f7a7d4c7b782e13ef606add0e Mon Sep 17 00:00:00 2001 From: abraunegg Date: Sun, 18 Nov 2018 07:05:01 +1100 Subject: [PATCH] Update onedrive.d for additional debug logging (#238) * In case the user does not use the --verbose tag, if we are doing --https-debug we want this printed to the console --- src/onedrive.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onedrive.d b/src/onedrive.d index 980b9ecb..71cd9572 100644 --- a/src/onedrive.d +++ b/src/onedrive.d @@ -330,7 +330,7 @@ final class OneDriveApi auto response = perform(); checkHttpCode(response); if (.debugResponse){ - log.vlog("OneDrive API Response: ", response); + writeln("OneDrive API Response: ", response); } return response; } @@ -481,7 +481,7 @@ final class OneDriveApi content ~= data; // HTTP Server Response Code Debugging if (.debugResponse){ - log.vlog("OneDrive HTTP Server Response: ", http.statusLine.code); + writeln("OneDrive HTTP Server Response: ", http.statusLine.code); } return data.length;