Set appropiate log levels
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma
2019-11-06 09:08:42 +01:00
parent 9ebce8e0bb
commit 6ba1d39d31
8 changed files with 8 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ export class MapEffects {
startSearch$: Observable<Action> = this.actions$.pipe(
ofType(mapActions.STARTSEARCH),
switchMap((action: mapActions.StartSearch) => {
console.log("Start search");
console.debug("Start search");
var startDate = action.queryState.startDate;
var endDate = action.queryState.endDate;
var newAction;

View File

@@ -268,7 +268,7 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
}
var selectedBaseLayer: IItemLayer = null;
var mapState = tassign(state.mapState);
console.log(`Base layerload: ${mapState.baseLayerCode}`)
console.debug(`Base layerload: ${mapState.baseLayerCode}`)
if (baseLayers.length > 0 && mapState.baseLayerCode != "") {
selectedBaseLayer = baseLayers.filter(layer => layer.item.code === mapState.baseLayerCode)[0];
selectedBaseLayer.visible = true;

View File

@@ -24,7 +24,7 @@ export class GeolocationService {
observer.next(position);
},
(error: PositionError) => {
console.log('Geolocation service: ' + error.message);
console.debug('Geolocation service: ' + error.message);
observer.error(error);
},
{