I\'m working on enhancing logging in some node.js applications. In the past have used C++\'s __ file__ and __ line __ preprocessor macros to help us track down issues when
Expanded on the previous answers a bit into here: https://gist.github.com/gavinengel/8572856
Allows setting globals: __line, __file, __ext, __dir
By the way, how do I create?: __function, __method, __class