MCPcopy Index your code
hub / github.com/PowerShell/vscode-powershell / writeAndShowInformation

Method writeAndShowInformation

src/logging.ts:71–85  ·  view source on GitHub ↗
(
        message: string,
        ...additionalMessages: string[]
    )

Source from the content-addressed store, hash-verified

69 }
70
71 public async writeAndShowInformation(
72 message: string,
73 ...additionalMessages: string[]
74 ): Promise<void> {
75 this.write(message, ...additionalMessages);
76
77 const selection = await window.showInformationMessage(
78 message,
79 "Show Logs",
80 "Okay",
81 );
82 if (selection === "Show Logs") {
83 this.showLogPanel();
84 }
85 }
86
87 public writeTrace(message: string, ...additionalMessages: string[]): void {
88 this.writeAtLevel(LogLevel.Trace, message, ...additionalMessages);

Callers

nothing calls this directly

Calls 3

writeMethod · 0.95
showLogPanelMethod · 0.95

Tested by

no test coverage detected