Geoportal Extension for OpenLayers
API Reference

Module: LoggerByDefault

module:~utils/Logger

...

Example

import Logger from "gpf-ext-ol/utils/LoggerByDefault"
ou 
import {Logger} from "gpf-ext-ol

Logger.getLogger();
Logger.disableAll();
Logger.enableAll();

Methods

innerdisableAll()

Utils/LoggerByDefault.js, line 38

desactive tous les loggers

innerenableAll()

Utils/LoggerByDefault.js, line 51

active tous les loggers

innergetLogger(name){Object}

Utils/LoggerByDefault.js, line 19

creation d'un logger statique

Name Type Default Description
name String "default" optional

the logger name