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