logger
This commit is contained in:
Vendored
+21
@@ -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;
|
||||
Reference in New Issue
Block a user