Function Database.setTraceCallback
Registers a delegate of type TraceCallbackDelegate
as the trace callback.
void setTraceCallback
(
void delegate(string) traceCallback
);
Any previously set profile or trace callback is released.
Pass null
to disable the callback.
The string parameter that is passed to the callback is the SQL text of the statement being executed.