Helper methods for printing out log statements