The log does not work

A course in c ++ from the udemy website, there is now a lesson to create your own category of logs, the author of the course in the video everything works, but for some reason it doesn’t work for me, maybe something has changed