Better logging string formatting.