Function log

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

    Parameters

    • type: LoggerType

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

    • name: string

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

    • color: string = blurple

      Color of the prefix as hex or a CSS color

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

      Message(s) to log to the console

    Returns void