Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can we get line number details in the logging output? #211
There is an inspect module:
That allows us to look back through the stack, each entry induces a line number and function name.
We can add this to the logging function (logMessage) - but need to go back a couple of function calls in order to find the line that called us.
Indeed it does: