Removed LogTypes from AddLog as this is an error, actually passing in an int