feat: complate plugin system

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-10 17:22:00 +08:00
parent 634dbdb16d
commit 6ff25c7164
4 changed files with 15 additions and 18 deletions

View File

@ -5,12 +5,7 @@ export namespace interfaces {
@injectable()
export abstract class Plugin {
public description: PluginMetadata;
protected logger: Console;
@postConstruct()
private init() {
this.logger = global.console;
}
public logger: Console;
public load() { }
public enable() { }