MCPcopy
hub / github.com/dotnet/vscode-csharp / logError

Method logError

src/razor/src/razorLogger.ts:52–59  ·  view source on GitHub ↗
(message: string, error: unknown)

Source from the content-addressed store, hash-verified

50 }
51
52 public logError(message: string, error: unknown) {
53 if (error instanceof Error) {
54 this.logErrorInternal(message, error);
55 } else {
56 const errorMsg = String(error);
57 this.logErrorInternal(message, Error(errorMsg));
58 }
59 }
60
61 public logInfo(message: string) {
62 if (this.infoEnabled) {

Callers 8

logMethod · 0.95
registerMethodHandlerFunction · 0.80
launchAppMethod · 0.80
launchBrowserMethod · 0.80
attachToAppOnBrowserMethod · 0.80
killProcessFunction · 0.80
terminateByProcessNameFunction · 0.80

Calls 2

logErrorInternalMethod · 0.95
ErrorInterface · 0.85

Tested by

no test coverage detected