From b4fd9e3337e468ca215a06f5792fc359f459e138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Tue, 5 Apr 2022 23:51:14 -0300 Subject: [PATCH] fix: use resolve class export to get logger --- src/Application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.ts b/src/Application.ts index 3117c40..2e26832 100644 --- a/src/Application.ts +++ b/src/Application.ts @@ -49,7 +49,7 @@ export class Application { this.httpServer = null this.httpRoute = null this.extension = extension - this.logger = require('./Utils/Logger') + this.logger = ResolveClassExport.resolve(require('./Utils/Logger')) } /**