QueryLogger¶
-
class
OC\Diagnostics\
QueryLogger
¶ Source: lib/private/Diagnostics/QueryLogger.php#31 Implements: OCP\Diagnostics\IQueryLogger
Properties¶
-
protected static property
OC\Diagnostics\QueryLogger::$
activeQuery
¶ Source: lib/private/Diagnostics/QueryLogger.php#35 Type: \OC\Diagnostics\Query
-
protected static property
OC\Diagnostics\QueryLogger::$
queries
¶ Source: lib/private/Diagnostics/QueryLogger.php#40 Type: \OC\Cache\CappedMemoryCache
Methods¶
-
public
OC\Diagnostics\QueryLogger::
__construct
()¶ - QueryLogger constructor.
Source: lib/private/Diagnostics/QueryLogger.php#45
-
public
OC\Diagnostics\QueryLogger::
startQuery
($sql, $params=null, $types=null)¶ Source: lib/private/Diagnostics/QueryLogger.php#58
-
public
OC\Diagnostics\QueryLogger::
stopQuery
()¶ Source: lib/private/Diagnostics/QueryLogger.php#75
-
public
OC\Diagnostics\QueryLogger::
getQueries
()¶ Source: lib/private/Diagnostics/QueryLogger.php#86
-
public
OC\Diagnostics\QueryLogger::
activate
()¶ Source: lib/private/Diagnostics/QueryLogger.php#93