Update logs method to take a block and return logs