repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5995d
)
refactor(simulator): export directly logger helper
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 20:39:52 +0000
(22:39 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 28 May 2023 20:39:52 +0000
(22:39 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Logger.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/Logger.ts
b/src/utils/Logger.ts
index 9bb195a3c65db0841776cb0c5bd38308f94e3443..e2b2da5a581b653421d81001a14386aa145033b2 100644
(file)
--- a/
src/utils/Logger.ts
+++ b/
src/utils/Logger.ts
@@
-38,7
+38,7
@@
if (Configuration.getLogRotate() === true) {
];
}
-const logger: Logger = createLogger({
+
export
const logger: Logger = createLogger({
level: Configuration.getLogLevel(),
format: format.combine(format.splat(), (format[Configuration.getLogFormat()] as FormatWrap)()),
transports,
@@
-58,5
+58,3
@@
if (Configuration.getLogConsole()) {
})
);
}
-
-export { logger };