dylang/logging — pull request #3 by kg4lod (2012-06-04 18:32:52+00:00)
Title: Better filename reporting...

Thanks for this awesome utility. I had one small problem with it, since we namespace our files with periods. I don't think that is all that uncommon practice. I propose the following modification:

Improve handling of filename so that only the extension is stripped. That is, strip the last segment rather than keeping the first.

Examples:

"this.file.name.js" --> "this.file.name", not "this"
"my.coffee.file.coffee" --> "my.coffee.file", not "my"