Skip to content

Commit

Permalink
fix: set logger provider as instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Apr 8, 2022
1 parent ab87afc commit 1786c73
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 1786c73

Please sign in to comment.