Skip to content

Commit

Permalink
Merge pull request #5 from AthennaIO/develop
Browse files Browse the repository at this point in the history
feat: update @athenna/ioc to v1.0.8
  • Loading branch information
jlenon7 authored Apr 1, 2022
2 parents e6bb49c + 0f78392 commit 9a84755
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/logger",
"version": "1.0.5",
"version": "1.0.6",
"description": "",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down Expand Up @@ -153,7 +153,7 @@
}
},
"dependencies": {
"@athenna/ioc": "1.0.7",
"@athenna/ioc": "1.0.8",
"@secjs/utils": "1.8.0",
"reflect-metadata": "0.1.13",
"tscpaths": "0.0.9"
Expand Down
9 changes: 6 additions & 3 deletions src/Providers/LoggerProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ import { Logger } from 'src/Logger'
import { ServiceProvider } from '@athenna/ioc'

export class LoggerProvider extends ServiceProvider {
boot() {}

register() {
/**
* Register any application services.
*
* @return void
*/
public register() {
this.container.bind('Athenna/Core/Logger', Logger)
}
}

0 comments on commit 9a84755

Please sign in to comment.