7 – How to log in to the console when it is in a Drupal connection behavior?

I am using Drupal 7. I have the following code that tries to log in to the console:

function mymodule_get_jquery() {
  $jquery = <<

If I open the console in Firefox or Chrome, the registry generates the following:

JQMIGRATE: Migrate is installed, version 1.4.1

Why is the line not registered "everywhere"? Is there any way to record JavaScript information in the function attach Drupal behavior?