Skip to content

Commit

Permalink
fix: importa log instance class
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Dec 6, 2021
1 parent fbd5f6b commit af49656
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@secjs/logger",
"version": "1.2.4",
"version": "1.2.5",
"description": "",
"license": "MIT",
"author": "João Lenon",
Expand Down
3 changes: 2 additions & 1 deletion src/utils/global.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Log as LogInstance } from '../Log'
import { DriverContract } from '../Contracts/DriverContract'
import { FormatterContract } from '../Contracts/FormatterContract'

Expand Down Expand Up @@ -27,4 +28,4 @@ declare global {

const _global = global as any

_global.Log = Log
_global.Log = LogInstance

0 comments on commit af49656

Please sign in to comment.