fix log format
This commit is contained in:
parent
c8373ddaf4
commit
f27b21cb52
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export default class Logger {
|
||||||
|
|
||||||
public logLevel(level: string, message: string, data?: any): void {
|
public logLevel(level: string, message: string, data?: any): void {
|
||||||
this.output.appendLine(
|
this.output.appendLine(
|
||||||
`[${level} - ${this.now()}] ${message}`
|
`[${level} - ${this.now()}] ${message}`
|
||||||
)
|
)
|
||||||
if (data) {
|
if (data) {
|
||||||
this.output.appendLine(this.data2String(data))
|
this.output.appendLine(this.data2String(data))
|
||||||
|
|
Loading…
Reference in a new issue