(function( $ ){ $.fn.openlayers = function( mapElementId, options ) { alert(console.log); console.log(options); ... } });
I
Add the following line before OpenLayer script to tell it not to override the console functions.
<script type="text/javascript"> console.firebug=true; </script>
Just click on ALL, you will definitely see the console.log output.
Hope it helps...!!!