Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Add return type to getLogger
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Feb 18, 2022
1 parent bc464bb commit 28e6dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (Configuration.getLogRotate()) {
}

let loggerInstance: Logger | null = null;
const getLogger = () => {
const getLogger = (): Logger => {
if (!loggerInstance) {
loggerInstance = createLogger({
level: Configuration.getLogLevel(),
Expand Down

0 comments on commit 28e6dd3

Please sign in to comment.