Package musichub.util
Class LogHandler
java.lang.Object
musichub.util.LogHandler
Class offering a log writing method.
- Version:
- 1.0
- Author:
- Aimeric ADJUTOR
-
Constructor Summary
ConstructorDescriptionMethod that just throws an AssertionError if the class is called -
Method Summary
-
Constructor Details
-
LogHandler
public LogHandler()Method that just throws an AssertionError if the class is called- Throws:
AssertionError
- you can't instantiate this class
-
-
Method Details
-
write
Method that writes a log message to spoteezer.log- Parameters:
msg
- the message to writetype
- the type of log- Throws:
IOException
- if the file's not there
-
read
Method that prints the content of spoteezer.log- Throws:
IOException
- if the file's not there
-