[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/Bridge/ -> PropelCollector.php (summary)

(no description)

File Size: 253 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PropelCollector:: (19 methods):
  enablePropelProfiling()
  __construct()
  setLogQueriesToLogger()
  isLogQueriesToLogger()
  emergency()
  alert()
  crit()
  err()
  warning()
  notice()
  info()
  debug()
  log()
  convertLogLevel()
  parseAndLogSqlQuery()
  collect()
  getName()
  getWidgets()
  getAssets()


Class: PropelCollector  - X-Ref

A Propel logger which acts as a data collector

http://propelorm.org/

Will log queries and display them using the SQLQueries widget.
You can provide a LoggerInterface object to forward non-query related message to.

Example:
<code>
$debugbar->addCollector(new PropelCollector($debugbar['messages']));
PropelCollector::enablePropelProfiling();
</code>
enablePropelProfiling(PropelConfiguration $config = null)   X-Ref
Sets the needed configuration option in propel to enable query logging

param: PropelConfiguration $config Apply profiling on a specific config

__construct(LoggerInterface $logger = null, PropelPDO $conn = null)   X-Ref

param: LoggerInterface $logger A logger to forward non-query log lines to
param: PropelPDO $conn Bound this collector to a connection only

setLogQueriesToLogger($enable = true)   X-Ref
No description

isLogQueriesToLogger()   X-Ref
No description

emergency($m)   X-Ref
No description

alert($m)   X-Ref
No description

crit($m)   X-Ref
No description

err($m)   X-Ref
No description

warning($m)   X-Ref
No description

notice($m)   X-Ref
No description

info($m)   X-Ref
No description

debug($m)   X-Ref
No description

log($message, $severity = null)   X-Ref
No description

convertLogLevel($level)   X-Ref
Converts Propel log levels to PSR log levels

param: int $level
return: string

parseAndLogSqlQuery($message)   X-Ref
Parse a log line to extract query information

param: string $message

collect()   X-Ref
No description

getName()   X-Ref
No description

getWidgets()   X-Ref
No description

getAssets()   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer