@minecraft/server-editor
    Preparing search index...

    Interface LogPropertiesBeta

    A properties class for the global instance of the logger object. While the logger object is available through the ExtensionContext - using the global instance allows the creator to use this properties class to perform direct server->client messaging and broadcasts.

    interface LogProperties {
        channelMask?: LogChannel;
        player?: Player;
        subMessage?: string;
        tags?: string[];
    }
    Index

    Properties

    channelMask?: LogChannel

    Display the log message to a log channel. If no channel is specified, default channel is regular message.

    player?: Player

    Direct a log message to a specific player. If no player is specified, then all players will receive the message

    subMessage?: string

    Message to be shown under the message when toast channel is selected.

    tags?: string[]

    Add additional tags to the log message which can be used by the client session to filter/search in the log window