Saves logs in different Formats