Unmonitor

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Separate Command Line API page for unmonitor())
(Added parameter description and examples)
(One intermediate revision 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]]

Revision as of 10:08, 18 July 2012

Turns off logging for all calls to a function.

Contents

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

Personal tools