public interface ConsoleMessage
Modifier and Type | Method and Description |
---|---|
default ConsoleMessageLevel |
level()
Returns the console message level.
|
default int |
lineNumber()
Returns the line number of the console message.
|
default java.lang.String |
message()
Returns a string that represents the text of the console message.
|
default java.lang.String |
source()
Returns a string that represents the source of the console message.
|
default ConsoleMessageLevel level()
default java.lang.String message()
When logging the JavaScript error that was caused by calling the Java method that was
injected using the InjectJsCallback
, then the message will contain the java exception
type and the first line of the stack trace that contains information about the package,
class, method and the line of code where the exception was thrown.
default int lineNumber()
default java.lang.String source()