Several logarithmic Caffarelli–Kohn–Nirenberg inequalities and applications☆