fix log format

This commit is contained in:
Qiming Zhao 2022-04-21 23:39:43 +08:00
parent c8373ddaf4
commit f27b21cb52
No known key found for this signature in database
GPG key ID: 9722CD0E8D4DCB8C

View file

@ -60,7 +60,7 @@ export default class Logger {
public logLevel(level: string, message: string, data?: any): void {
this.output.appendLine(
`[${level} - ${this.now()}] ${message}`
`[${level} - ${this.now()}] ${message}`
)
if (data) {
this.output.appendLine(this.data2String(data))