Now passing through pos object so the line numbers of the code calling logger.debug are used