Add logging to canonical unit

This commit is contained in:
Garrett Mills 2020-09-05 09:40:58 -05:00
parent 41b25a5670
commit 59975830e7
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -131,6 +131,8 @@ export class Canonical<T> extends LifecycleUnit {
.split('').reverse().join('') .split('').reverse().join('')
.substr(this.suffix.length) .substr(this.suffix.length)
.split('').reverse().join('') .split('').reverse().join('')
this.make(Logging).debug(`Importing from: ${file_path}`)
const imported = await import(file_path) const imported = await import(file_path)
return { canonical_name, original_name, imported } return { canonical_name, original_name, imported }
} }