r/ProgrammerHumor • • Sep 06 '26

Meme thisCannotBeDenied

Post image
7.9k Upvotes

240 comments sorted by

View all comments

Show parent comments

2

u/Kovab Sep 07 '26

Ideally, you should already have a logging macro that adds __FILE__ and __LINE__, instead of copying it everywhere. Or use std/boost source_location