The text argues that the city is not dangerous. However, even though the speaker has never been in danger in the city, that doesn't necessarily mean that everyone in the city is always safe. This illustrates a type of logical fallacy known as a hasty generalization.
Which logical fallacy is used in the text?
Of course the city is perfectly safe. Look at me—I've been living here for years and I'm fine!
A: hasty generalization: a very broad claim based on very little evidence
B: ad hominem: a personal attack against one's opponent