Difference between revisions of "Unmonitor"

From FirebugWiki
Jump to: navigation, search
(Added description of syntax, hint for needing help and linked back to Command Line API)
(Added parameter description and examples)
Line 1: Line 1:
{{needsHelp}}
 
 
 
Turns off logging for all calls to a function.
 
Turns off logging for all calls to a function.
  
Line 7: Line 5:
 
unmonitor(fn)
 
unmonitor(fn)
 
</source>
 
</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 ==
 
== See also ==
 +
* [[monitor]]
 
* [[Command Line API]]
 
* [[Command Line API]]

Revision as of 02:08, 18 July 2012

Turns off logging for all calls to a function.

Syntax

unmonitor(fn)

Parameters

fn

Function to remove logging calls for. (required)

Examples

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

unmonitor(faculty)

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

See also