Configure more detailed logging by default in side-by-side demo
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
goog.require('goog.debug.Console');
|
goog.require('goog.debug.Console');
|
||||||
|
goog.require('goog.debug.Logger');
|
||||||
|
goog.require('goog.debug.Logger.Level');
|
||||||
goog.require('ol.CoordinateFormat');
|
goog.require('ol.CoordinateFormat');
|
||||||
goog.require('ol.RendererHint');
|
goog.require('ol.RendererHint');
|
||||||
goog.require('ol.control.Attribution');
|
goog.require('ol.control.Attribution');
|
||||||
@@ -10,6 +12,7 @@ goog.require('ol.layer.MapQuestOpenAerial');
|
|||||||
|
|
||||||
if (goog.DEBUG) {
|
if (goog.DEBUG) {
|
||||||
goog.debug.Console.autoInstall();
|
goog.debug.Console.autoInstall();
|
||||||
|
goog.debug.Logger.getLogger('ol').setLevel(goog.debug.Logger.Level.INFO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user