}
if ($this->_debug) {
- fwrite($this->_debug, 'C: ' . (empty($options['debug']) ? $query : $options['debug']) . "\n");
+ fwrite($this->_debug, 'C (' . microtime(true) . '): ' . (empty($options['debug']) ? $query : $options['debug']) . "\n");
}
fwrite($this->_stream, $query . "\r\n");
}
if ($this->_debug) {
- fwrite($this->_debug, 'S: ' . $read . "\n");
+ fwrite($this->_debug, 'S (' . microtime(true) . '): ' . $read . "\n");
}
$read = explode(' ', $read, 3);
$debug_line = $binary
? "[BINARY DATA - $literal_len bytes]"
: $line;
- fwrite($this->_debug, 'S: ' . $debug_line . "\n");
+ fwrite($this->_debug, 'S (' . microtime(true) . ': ' . $debug_line . "\n");
}
} while (true);