APIConsoleMessageConsoleMessage.typeVersion: 17.1.3ConsoleMessage.type() methodSignature:class ConsoleMessage { type(): ConsoleMessageType;}Returns:ConsoleMessageTypeThe type of the console message.