Show more context information in the logs.

Add line numbers and function name from where the log is displayed.