diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-26 21:02:26 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-06-26 21:02:26 +0200 |
commit | 572a9591b7970180a18d1a59e9dab8920c363608 (patch) | |
tree | 71832bc51e14b0fdeea017a08c7a9389d2719a86 | |
parent | 8e72cabd763c8f6cfba63b9aaf9502ca15a3092f (diff) |
Starting the log class.
-rw-r--r-- | log/spoteezer.log | 0 | ||||
-rw-r--r-- | src/main/java/musichub/util/LogWriter.java | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/log/spoteezer.log b/log/spoteezer.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/log/spoteezer.log 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 |