What is the signature of a function that logs something to a file and ends in assert(0)?
I do get your point.However I still doubt that this is worth a the additional language complexity.
Usually the clue would be in the name. sth. like void logAndDie(string lastWords) { ... }