Prints loginfo and print statements to the screen