logging javascript module names
<p>I want to be able to log my module initializations to see what happens. Is there a way to get the module namespace and log it to the console.</p>

<pre><code>(function($, bis, window, document, undefined) {
    "use strict";
    //other app code
    bis.library = bis.library || function(module) {
        $(function() {
            if (module.init) {
                module.init();
                //how can I make it log the module namespace
                console.log('module' + module.toString() + 'initialized');
            }
        });
        return module;
    };

    //other app code
})(jQuery, window._bis = window._bis || {}, window, document);
</code></pre>

<p>example of my module definition</p>

<pre><code>(function($, bis, window, document, undefined) {
    "use strict";
    var common = bis.common,
        urls = bis.urls,
        defaults = bis.defaults,
        createWorklist = bis.createWorklist,
        editWorklist = bis.editWorklist,
        editMoveBoxesWorklist = bis.editMoveBoxesWorklist;

    bis.worklist = bis.worklist || bis.library((function() {
        // module variables
        var init = function() {
            //module init code
        };

        //other module code

        return {
            init: init
        };
    })());
})(jQuery, window._bis = window._bis || {}, window, document);​
</code></pre>

<p>So I want the line console.log to log the following text "module bis.worklist initialized" for example.</p>
