@adonisjs/logger
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -5,3 +5,3 @@ import { IocContract } from '@adonisjs/fold'; | ||
constructor($container: IocContract); | ||
protected $registerLogger(): void; | ||
register(): void; | ||
} |
@@ -8,5 +8,5 @@ "use strict"; | ||
} | ||
$registerLogger() { | ||
register() { | ||
this.$container.singleton('Adonis/Core/Logger', () => { | ||
return new Logger_1.Logger(this.$container.use('Adonis/Core/Config').get('logger', {})); | ||
return new Logger_1.Logger(this.$container.use('Adonis/Core/Config').get('app.logger', {})); | ||
}); | ||
@@ -13,0 +13,0 @@ } |
{ | ||
"name": "@adonisjs/logger", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Logger built on top of pino to be used by AdonisJs", | ||
@@ -9,2 +9,3 @@ "files": [ | ||
"build/src", | ||
"build/templates", | ||
"build/standalone.d.ts", | ||
@@ -19,4 +20,5 @@ "build/standalone.js" | ||
"clean": "del build", | ||
"copyfiles": "copyfiles \"templates/**/*.txt\" build", | ||
"compile": "npm run lint && npm run clean && tsc", | ||
"build": "npm run compile && typedoc --theme markdown --excludePrivate --HideSources && git add docs", | ||
"build": "npm run compile && npm run copyfiles && typedoc --theme markdown --excludePrivate --HideSources && git add docs", | ||
"commit": "git-cz", | ||
@@ -95,10 +97,3 @@ "release": "np", | ||
}, | ||
"homepage": "https://github.com/adonisjs/logger#readme", | ||
"adonisjs": { | ||
"templates": { | ||
"config": [ | ||
"logger.txt" | ||
] | ||
} | ||
} | ||
"homepage": "https://github.com/adonisjs/logger#readme" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18820