Barking dogs 2

I have a similar situation, except the dog owner behind us let’s the dog out at 5 AM and he continuously barks for 1-2 hours. I am losing sleep, which isn’t good for me. Still try and change my thoughts or take action?. Leave a note, call the sheriff, etc.?
T: the owner should not leave the dog outside barking
F: Grumpy and very tired
A: Fume, rant and rave. Get up. 5:30 am
R: stay aggravated for a couple of hours

T: the dog is having separation anxiety in the dark so I can take action
F: calmer
A: leave note for owner or call police. Noise ordinance.
R: Dog stops waking me up and disturbing my quiet time