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