repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: ensure logPrefix helper is always used
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Helpers.ts
diff --git
a/src/charging-station/Helpers.ts
b/src/charging-station/Helpers.ts
index 068bc6c970afeaa9e402cc4f69086ccafae59ded..90ecd0e8154814c6a2be8f70c6b508690f59c096 100644
(file)
--- a/
src/charging-station/Helpers.ts
+++ b/
src/charging-station/Helpers.ts
@@
-714,7
+714,7
@@
const warnDeprecatedTemplateKey = (
isNotEmptyString(logMsgToAppend) ? `. ${logMsgToAppend}` : ''
}`;
logger.warn(`${logPrefix} ${logMsg}`);
- console.warn(
chalk.yellow(`${logMsg}`)
);
+ console.warn(
`${chalk.green(logPrefix)} ${chalk.yellow(logMsg)}`
);
}
};