Upgraded the log function to work with the new NUClear syntax