This commit is contained in:
2026-01-20 16:22:31 +08:00
parent a69014977b
commit 9e37f0fc33
5 changed files with 73 additions and 15 deletions
+21
View File
@@ -0,0 +1,21 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = void 0;
class Logger {
constructor() {
this.msgs = '';
}
Info(...msgs) {
for (const msg of msgs) {
this.msgs += String(msg);
}
this.msgs += '\n';
}
GetOutput() {
return this.msgs;
}
Clear() {
this.msgs = '';
}
}
exports.Logger = Logger;