From af496565e6eab5ed86ecabad10782901744307dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Mon, 6 Dec 2021 13:06:11 -0300 Subject: [PATCH] fix: importa log instance class --- package.json | 2 +- src/utils/global.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 24b2b33..77fa43d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@secjs/logger", - "version": "1.2.4", + "version": "1.2.5", "description": "", "license": "MIT", "author": "João Lenon", diff --git a/src/utils/global.ts b/src/utils/global.ts index 9bcc768..adbfcde 100644 --- a/src/utils/global.ts +++ b/src/utils/global.ts @@ -1,3 +1,4 @@ +import { Log as LogInstance } from '../Log' import { DriverContract } from '../Contracts/DriverContract' import { FormatterContract } from '../Contracts/FormatterContract' @@ -27,4 +28,4 @@ declare global { const _global = global as any -_global.Log = Log +_global.Log = LogInstance