Type property added to LogWriter, so we can specify which type of log we are outputting (ERROR, INFO etc.)