 = null;
        var logger = null

        function canLog() {
            return (callbackedAndLoggerInstantiated
                    && callbacker
                    && logger);
        }

        window.onerror = function myErrorHandler(errorMsg, url, lineNumber) {
            if (canLog()) {
                logger.logError(errorMsg, url, lineNumber);
            }
            
            return false;
        }

        window.onload = function() {
            // If the logger is not instantiated for