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:
bc464bb
)
Add return type to getLogger
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 18 Feb 2022 10:31:08 +0000
(11:31 +0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 18 Feb 2022 10:31:08 +0000
(11:31 +0100)
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 a558adad618f2d4291462744ea474392ffb3dff9..61a3ec0d3b9a9c141526cd3f293e6050da871bbc 100644
(file)
--- a/
src/utils/Logger.ts
+++ b/
src/utils/Logger.ts
@@
-20,7
+20,7
@@
if (Configuration.getLogRotate()) {
}
let loggerInstance: Logger | null = null;
-const getLogger = () => {
+const getLogger = ()
: Logger
=> {
if (!loggerInstance) {
loggerInstance = createLogger({
level: Configuration.getLogLevel(),