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

@@ -1,7 +1,7 @@
/**
*
*/
import { logger } from '../../logger';
import { log } from '../../logger';
import mermaidAPI from '../../mermaidAPI';
import * as configApi from '../../config';
@@ -15,7 +15,7 @@ export const parseDirective = function(statement, context, type) {
const addSection = function(id, value) {
if (typeof sections[id] === 'undefined') {
sections[id] = value;
logger.debug('Added new section :', id);
log.debug('Added new section :', id);
}
};
const getSections = () => sections;