Slightly literary / affectionate. Everyday spoken Chinese uses
狗 (gǒu) for 'dog'.
爱犬 appears in obituaries-for-pets, news headlines, and pet-product names — like English 'beloved canine companion'. The character
犬 (quǎn) is the formal / written form of 'dog'.