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

    Interface IPlayerLoggerBeta

    Log helper interface for Player.

    interface IPlayerLogger {
        debug(message: string): void;
        error(message: string): void;
        info(message: string): void;
        warning(message: string): void;
    }
    Index

    Methods

    • Beta

      Parameters

      • message: string

        Message content

      Returns void

      Dispatch a player log message with Debug log level

    • Beta

      Parameters

      • message: string

        Message content

      Returns void

      Dispatch a player log message with Error log level

    • Beta

      Parameters

      • message: string

        Message content

      Returns void

      Dispatch a player log message with Info log level

    • Beta

      Parameters

      • message: string

        Message content

      Returns void

      Dispatch a player log message with Warning log level