| title | IExtensionHost.LogMessage(ILogMessage) Method | |||
|---|---|---|---|---|
| description | The LogMessage method is used to log a message to the Command Palette. | |||
| ms.date | 2/7/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions
The LogMessage method is used to log a message to the Command Palette. This method is used to provide logging functionality for extensions in the Command Palette.
message ILogMessage
The message to be logged in the Command Palette. This parameter is used to define the content of the log message.
A Windows.Foundation.IAsyncAction object that represents the asynchronous operation. This method does not return a value, but it can be awaited to ensure that the log message is processed before proceeding with other operations.