| title | LogMessage Class | |||
|---|---|---|---|---|
| description | The LogMessage class is used to define a log message in the command palette. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements ILogMessage
The LogMessage class is used to define a log message in the command palette. It provides properties to specify the message content and its state.
| Constructor | Description |
|---|---|
| LogMessage(String) | Initializes a new instance of the LogMessage class with the specified message. |
| Property | Type | Description |
|---|---|---|
| Message | String | The content of the log message. |
| State | MessageState | The state of the log message. |