Change logger to log

This commit is contained in:
harshilparmar
2021-02-06 15:56:05 +05:30
parent edd7bc7197
commit 7019a1149d
41 changed files with 366 additions and 376 deletions

View File

@@ -2,7 +2,7 @@
* Setup arrow head and define the marker. The result is appended to the svg.
*/
import { logger } from '../logger';
import { log } from '../logger';
// Only add the number of markers that the diagram needs
const insertMarkers = (elem, markerArray, type, id) => {
@@ -12,7 +12,7 @@ const insertMarkers = (elem, markerArray, type, id) => {
};
const extension = (elem, type, id) => {
logger.trace('Making markers for ', id);
log.trace('Making markers for ', id);
elem
.append('defs')
.append('marker')