Get rid of goog.log
This commit is contained in:
@@ -7,12 +7,9 @@ goog.provide('ol.MapProperty');
|
||||
|
||||
goog.require('goog.asserts');
|
||||
goog.require('goog.async.nextTick');
|
||||
goog.require('goog.debug.Console');
|
||||
goog.require('goog.dom');
|
||||
goog.require('goog.dom.classlist');
|
||||
goog.require('goog.functions');
|
||||
goog.require('goog.log');
|
||||
goog.require('goog.log.Level');
|
||||
goog.require('goog.style');
|
||||
goog.require('goog.vec.Mat4');
|
||||
goog.require('ol.Collection');
|
||||
@@ -1603,12 +1600,3 @@ ol.Map.createOptionsInternal = function(options) {
|
||||
|
||||
|
||||
ol.proj.common.add();
|
||||
|
||||
|
||||
if (goog.DEBUG) {
|
||||
(function() {
|
||||
goog.debug.Console.autoInstall();
|
||||
var logger = goog.log.getLogger('ol');
|
||||
logger.setLevel(goog.log.Level.FINEST);
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user