diff --git a/src/openseadragon.js b/src/openseadragon.js index 5b0accb0..f84ebfb1 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -2313,7 +2313,7 @@ function OpenSeadragon( options ){ protocol !== "https:" )) { onSuccess( request ); } else { - $.console.log( "AJAX request returned %d: %s", request.status, url ); + $.console.error( "AJAX request returned %d: %s", request.status, url ); if ( $.isFunction( onError ) ) { onError( request ); @@ -2343,7 +2343,7 @@ function OpenSeadragon( options ){ request.send(null); } catch (e) { - $.console.log( "%s while making AJAX request: %s", e.name, e.message ); + $.console.error( "%s while making AJAX request: %s", e.name, e.message ); request.onreadystatechange = function(){}; diff --git a/src/strings.js b/src/strings.js index bf960cf9..f37abcb7 100644 --- a/src/strings.js +++ b/src/strings.js @@ -83,7 +83,7 @@ $.extend( $, /** @lends OpenSeadragon */{ string = container[ props[ i ] ]; if ( typeof ( string ) !== "string" ) { - $.console.log( "Untranslated source string:", prop ); + $.console.error( "Untranslated source string:", prop ); string = ""; // FIXME: this breaks gettext()-style convention, which would return source } diff --git a/src/tiledimage.js b/src/tiledimage.js index 95ac4f3c..1942c75c 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1608,7 +1608,7 @@ function loadTile( tiledImage, tile, time ) { */ function onTileLoad( tiledImage, tile, time, image, errorMsg, tileRequest ) { if ( !image ) { - $.console.log( "Tile %s failed to load: %s - error: %s", tile, tile.url, errorMsg ); + $.console.error( "Tile %s failed to load: %s - error: %s", tile, tile.url, errorMsg ); /** * Triggered when a tile fails to load. * @@ -1634,7 +1634,7 @@ function onTileLoad( tiledImage, tile, time, image, errorMsg, tileRequest ) { } if ( time < tiledImage.lastResetTime ) { - $.console.log( "Ignoring tile %s loaded before reset: %s", tile, tile.url ); + $.console.warn( "Ignoring tile %s loaded before reset: %s", tile, tile.url ); tile.loading = false; return; }