Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (37 sloc) 1.13 KB

debug

This method will enable debugging, so that you can trace your full queries.

Parameters

debug($log2file = false, $debugFile = false)
$log2file:When set to 1, log is written to a single file, if 2 it creates multiple log files per request so that you can do a more intense debugging, off stop debuging.
$debugFile:Path of the file to write logs, defaults to /tmp/dalmp.log

Constants

define('DALMP_DEBUG_FILE', '/home/tmp/debug.log');

Defines where the debug file will be write to.

Example