Skip to content

Commit

Permalink
Add timestamps to config warning output (#6297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colengms authored Oct 13, 2020
1 parent c1c5936 commit 551642a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/LanguageServer/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function showWarning(params: ShowWarningParams): void {
warningChannel = vscode.window.createOutputChannel(`${localize("c.cpp.warnings", "C/C++ Configuration Warnings")}`);
workspaceDisposables.push(warningChannel);
}
warningChannel.appendLine(message);
warningChannel.appendLine(`[${new Date().toLocaleString()}] ${message}`);
warningChannel.show(false);
}

Expand Down

0 comments on commit 551642a

Please sign in to comment.