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