CDPotion.Domain.Console (cdpotion v0.1.4)
Summary
Types
Console message.
Functions
Does nothing.
Disables console domain, prevents further console messages from being reported to the client.
Enables console domain, sends the messages collected so far to the client by means of the
messageAdded
notification.
Types
Link to this type
console_message()
@type console_message() :: %{ column: integer() | nil, level: :log | :warning | :error | :debug | :info, line: integer() | nil, source: :xml | :javascript | :network | :"console-api" | :storage | :appcache | :rendering | :security | :other | :deprecation | :worker, text: String.t(), url: String.t() | nil }
Console message.
Functions
Link to this function
clear_messages()
Does nothing.
Link to this function
disable()
Disables console domain, prevents further console messages from being reported to the client.
Link to this function
enable()
Enables console domain, sends the messages collected so far to the client by means of the
messageAdded
notification.