Skip to content

Commit

Permalink
Merge pull request #14 from AthennaIO/develop
Browse files Browse the repository at this point in the history
fix: set logger provider as instance
  • Loading branch information
jlenon7 authored Apr 8, 2022
2 parents 16c5596 + 1786c73 commit 4c870f6
Show file tree
Hide file tree
Showing 2 changed files with 2 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": "@athenna/logger",
"version": "1.1.4",
"version": "1.1.5",
"description": "",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/LoggerProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export class LoggerProvider extends ServiceProvider {
* @return void
*/
public register() {
this.container.bind('Athenna/Core/Logger', Logger)
this.container.instance('Athenna/Core/Logger', new Logger())
}
}

0 comments on commit 4c870f6

Please sign in to comment.