Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 778 Bytes

File metadata and controls

30 lines (21 loc) · 778 Bytes
title LogMessage Constructors
description Initializes a new instance of the LogMessage class with the specified message.
ms.date 2/25/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

LogMessage Constructors

LogMessage(String) Constructor

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Initializes a new instance of the LogMessage class with a message, which defaults to an empty string if no argument is provided.

public LogMessage(string message = "")
    {
        _message = message;
    }

Parameters

message String

The content of the log message. This parameter is optional and defaults to an empty string if not provided.