From 0572c31567b386f0845fdaa7d595ceeef01b24b7 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Jun 2021 20:34:08 +0200 Subject: Added logs a little bit everywhere and fixed the r feature. --- src/main/java/musichub/util/Policy.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/musichub/util') diff --git a/src/main/java/musichub/util/Policy.java b/src/main/java/musichub/util/Policy.java index 67a1c40..ac067b4 100644 --- a/src/main/java/musichub/util/Policy.java +++ b/src/main/java/musichub/util/Policy.java @@ -1,5 +1,6 @@ package musichub.util; +import java.io.IOException; import java.util.Scanner; /** @@ -104,6 +105,11 @@ public final class Policy { } } } + try { + LogHandler.write("Terms accepted by the user.", "INFO"); + } catch (IOException e) { + e.printStackTrace(); + } } /** -- cgit v1.2.3