From 572a9591b7970180a18d1a59e9dab8920c363608 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 26 Jun 2021 21:02:26 +0200 Subject: Starting the log class. --- src/main/java/musichub/util/LogWriter.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/musichub/util/LogWriter.java (limited to 'src/main') diff --git a/src/main/java/musichub/util/LogWriter.java b/src/main/java/musichub/util/LogWriter.java new file mode 100644 index 0000000..46d602e --- /dev/null +++ b/src/main/java/musichub/util/LogWriter.java @@ -0,0 +1,27 @@ +package musichub.util; + +/** + * Class offering a log writing method. + * + * @author Aimeric ADJUTOR + * @version 1.0 + */ + +public final class LogWriter { + + /** + * Method that just throws an AssertionError if the class is called + * + * @throws AssertionError you can't instantiate this class + * @author Aimeric ADJUTOR + */ + + public LogWriter() { + throw new AssertionError("You just can't instantiate this class."); + } + + public static void write(String msg) { + + } + +} \ No newline at end of file -- cgit v1.2.3