Example for auto logging from BadassView