Difference between revisions of "Unmonitor"

From FirebugWiki
Jump to: navigation, search
(Separate Command Line API page for unmonitor())
 
m (Added categories)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Turns off logging for all calls to a function.
 
Turns off logging for all calls to a function.
 +
 +
== Syntax ==
 +
<source lang="javascript">
 +
unmonitor(fn)
 +
</source>
 +
 +
== Parameters ==
 +
=== fn ===
 +
Function to remove logging calls for. '''(required)'''
 +
 +
== Examples ==
 +
''Note: Monitoring function calls to <code>faculty()</code> was previously enabled via [[monitor]].''
 +
 +
<source lang="javascript">
 +
unmonitor(faculty)
 +
</source>
 +
 +
This disables logging of calls to the function <code>faculty()</code>.
 +
 +
== See also ==
 +
* [[monitor]]
 +
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 16:05, 21 November 2013

Turns off logging for all calls to a function.

Syntax[edit]

unmonitor(fn)

Parameters[edit]

fn[edit]

Function to remove logging calls for. (required)

Examples[edit]

Note: Monitoring function calls to faculty() was previously enabled via monitor.

unmonitor(faculty)

This disables logging of calls to the function faculty().

See also[edit]