Interface for console messages.
|
| virtual | ~ConsoleMessage ()=default |
| |
| virtual MessageSource | source () const =0 |
| | The source of the message.
|
| |
| virtual MessageType | type () const =0 |
| | The type of content displayed.
|
| |
| virtual MessageLevel | level () const =0 |
| | The log level for the message.
|
| |
| virtual String | message () const =0 |
| | The message as a string– for multi-argument calls to console.log() this just converts the first parameter to a string.
|
| |
| virtual uint32_t | line_number () const =0 |
| | The line number of the JavaScript associated with this call, if any.
|
| |
| virtual uint32_t | column_number () const =0 |
| | The column number of the JavaScript associated with this call, if any.
|
| |
| virtual String | source_id () const =0 |
| | The source id (eg, URL) of the page associated with this call, if any.
|
| |
| virtual JSContextRef | argument_context () const =0 |
| | The JavaScript execution context for the arguments, if any.
|
| |
| virtual uint32_t | num_arguments () const =0 |
| | The number of JavaScript arguments passed to console.log(), if any.
|
| |
| virtual JSValueRef | argument_at (uint32_t idx) const =0 |
| | Get the JavaScript argument at a specific index (numbering starts at 0).
|
| |