Update logger network after modifying config

This commit is contained in:
softsimon
2023-03-21 16:21:11 +09:00
parent cb8fdb5e8d
commit 45dbc6c6f6
2 changed files with 6 additions and 1 deletions

View File

@@ -69,6 +69,10 @@ class Logger {
this.network = this.getNetwork();
}
public updateNetwork(): void {
this.network = this.getNetwork();
}
private addprio(prio): void {
this[prio] = (function(_this) {
return function(msg, tag?: string) {