diff --git a/src/xPDO/xPDO.php b/src/xPDO/xPDO.php index 462f264e..606ff49b 100644 --- a/src/xPDO/xPDO.php +++ b/src/xPDO/xPDO.php @@ -2030,7 +2030,8 @@ protected function _log($level, $msg, $target= '', $def= '', $file= '', $line= ' } switch ($target) { case 'HTML' : - echo '
[' . strftime('%Y-%m-%d %H:%M:%S') . '] (' . $this->_getLogLevel($level) . $def . $file . $line . ')
' . $msg . '
' . "\n"; + $debugBlockClass = $this->getOption('debug_block_class',NULL,'modx-debug-block'); + echo '
'.'
[' . strftime('%Y-%m-%d %H:%M:%S') . '] (' . $this->_getLogLevel($level) . $def . $file . $line . ')
' . $msg . '
' . "\n"; break; default : echo '[' . strftime('%Y-%m-%d %H:%M:%S') . '] (' . $this->_getLogLevel($level) . $def . $file . $line . ') ' . $msg . "\n";