|
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).
|
|
◆ ~ConsoleMessage()
◆ argument_at()
virtual JSValueRef argument_at |
( |
uint32_t | idx | ) |
const |
|
pure virtual |
Get the JavaScript argument at a specific index (numbering starts at 0).
◆ argument_context()
The JavaScript execution context for the arguments, if any.
◆ column_number()
virtual uint32_t column_number |
( |
| ) |
const |
|
pure virtual |
The column number of the JavaScript associated with this call, if any.
◆ level()
The log level for the message.
◆ line_number()
virtual uint32_t line_number |
( |
| ) |
const |
|
pure virtual |
The line number of the JavaScript associated with this call, if any.
◆ message()
virtual String message |
( |
| ) |
const |
|
pure virtual |
The message as a string– for multi-argument calls to console.log() this just converts the first parameter to a string.
◆ num_arguments()
virtual uint32_t num_arguments |
( |
| ) |
const |
|
pure virtual |
The number of JavaScript arguments passed to console.log(), if any.
◆ source()
The source of the message.
◆ source_id()
virtual String source_id |
( |
| ) |
const |
|
pure virtual |
The source id (eg, URL) of the page associated with this call, if any.
◆ type()
The type of content displayed.
The documentation for this class was generated from the following file: