This might seem like an overly simple question, but how can I output the line number to the logs pragmatically? All the methods I found via Google don't seem to work.

Author