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