diff options
Diffstat (limited to 'v2/logger.ts')
-rw-r--r-- | v2/logger.ts | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/v2/logger.ts b/v2/logger.ts deleted file mode 100644 index 641a406..0000000 --- a/v2/logger.ts +++ /dev/null @@ -1,24 +0,0 @@ -class Log { - time: number = Number(new Date()); - data: string = ""; - constructor (data: string, time?: number) { - this.data = data; - if(time) this.time = time; - } -} - -class Logger { - logs: Log[] = []; - - constructor () { - - } - - log (data: string) { - this.logs.push(new Log(data)) - } - - dump (): string[] { - return this.logs.map(log => ``) - } -} \ No newline at end of file |