Console scope: 1 — Service, 2 — Motor, 4 — Stator, 8 — Rotor, 16 — Winding, 32 — Mesh, 64 — Analysis, 127 — all.
True to suppress the message about clearing the console.
No return value.
console.debug() prints a highlighted message in purple. Use it for debugging and highlighting important messages. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.dir() displays the properties and methods of a JavaScript object as a list, making it easier to inspect its structure and nested properties.
JavaScript object.
No return value.
console.error() prints an error message in red with an error icon. Use it for critical issues requiring immediate attention. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.info() prints an informational message in green with an info icon. It is similar to console.log(), but intended for informational output. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.log() prints a message in gray with a bug icon. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
Prints text to the console, selecting the level from its contents: text containing "license not" or "Solution did not converge" is an error, text containing "warning" is a warning, and other text is informational.
Text.
No return value.
console.warn() prints a warning in yellow with a warn icon. Use it for potential problems that are not critical but should be addressed. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
Clears console output for the specified scope. In C++, this is a signal with two required arguments: calling console.clear() without arguments fails.