Trace() action
The Trace() action manipulates tracing.
Parameters
With no parameters, Trace() returns the current state of tracing.
- on[,filename]
- Turn tracing on, optionally specifying a file name.
- off
- Turn tracing off.
Examples
Turn on tracing.
Trace(on)
Turn off tracing.
Trace(off)
Turn on tracing, going to a particular file.
Trace(on,/tmp/tracefile)
Display the current state of tracing.
Trace()