22 lines
423 B
JavaScript
22 lines
423 B
JavaScript
"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;
|