Is pathetic fallacy a logical fallacy?

Pathetic fallacy is not a logical fallacy. It is a literary device or figure of speech we often encounter in literature when a writer attributes human emotions to things that aren’t human, such as objects, the weather, or animals. Pathetic fallacy is used to reflect a character’s emotions. For example, if a character has lost a loved one, he hears mournful birdsong.