Revert "Nicely format logged objects (#179405)" (#179894)

This reverts commit 5d3f960b67.

Based on comments in https://github.com/microsoft/vscode/pull/179405#issuecomment-1506843399
This commit is contained in:
Matt Bierner
2023-04-13 10:55:06 -07:00
committed by GitHub
parent b782ae6e67
commit 24c44070ae
2 changed files with 2 additions and 2 deletions

View File

@@ -45,6 +45,6 @@ export default class Tracer extends Disposable {
}
public trace(serverId: string, message: string, data?: unknown): void {
this.logger.trace(`<${serverId}> ${message}`, data);
this.logger.trace(`<${serverId}> ${message}`, ...(data ? [JSON.stringify(data, null, 4)] : []));
}
}