Including console.info
<p>I work with a contractor developer who insisted on modifying one of the existing files by placing the following two lines of code into a file (#1 below), included at the beginning of my code:</p>

<pre><code>function _info($Object){echo '&lt;script type="text/javascript"&gt;console.info("'.$Object.'");&lt;/script&gt;';}
function _infoJS($Object){echo 'console.info("'.$Object.'");';}
</code></pre>

<p>My file includes are something like this:</p>

<pre class="lang-none prettyprint-override"><code>&lt;application&gt;
    &lt;included file #1&gt;

    if A
       &lt;include project A&gt;
    else 
       &lt;include project B&gt;

&lt;/application&gt;
</code></pre>

<p>The problem is that this include file is used by other applications and I can not modify it. Does the <code>console.info</code> have to be included at the very beginning? I can easily include it in the header (between <code>&lt;head&gt;&lt;/head&gt;</code> or even before) of <code>&lt;include project A&gt;</code> or  <code>&lt;include project B&gt;</code>.</p>
