Make a separate function for logBubbleInfo