replugged

    Function warn

    • Log a warning to the console with a Replugged prefix.

      Parameters

      • type: LoggerType

        Type of the context of the warning (e.g. API, Plugin, Coremod...)

      • name: string

        Name of the context of the warning (e.g. Notices, SilentTyping, Badges...)

      • color: string = blurple

        Color of the prefix as hex or a CSS color

      • ...data: [message?: any, ...optionalParams: any[]]

        Thing(s) to print with the warning, same as the arguments would be for console.warn

      Returns void

    MMNEPVFCICPMFPCPTTAAATR