How do I initialise static variables in javascript static class?
<p>I have a static class in javascript...</p>

<pre><code>var Logger = {
    logtofirefox: function (str, priority) {

         console.log(str);        

    },
    logtoie: function (str, priority) {

         alert(str);        

    }

}
</code></pre>

<p>I call it like this from another file...</p>

<pre><code>Logger.log('Hello World');
</code></pre>

<p>But I want to inject the string 'log : ' before the words 'Hello World' on all functions.</p>

<p>Wondering if this is possible with minimum fuss?</p>
