summaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-03 01:35:07 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-20 13:38:37 +0200
commitb71d1d3616115653eb928489093fc2581d830cf5 (patch)
treee46ef96d1cf112dff8d9a206381d46ff71c4ad1d /lib/public/iservercontainer.php
parentd38050cf52a623a0a4d29044bb50d3c247c8245c (diff)
downloadnextcloud-server-b71d1d3616115653eb928489093fc2581d830cf5.tar.gz
nextcloud-server-b71d1d3616115653eb928489093fc2581d830cf5.zip
Add QueryLogger interface to allow apps to get a list of used queries
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r--lib/public/iservercontainer.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index 57bbf628993..97ff74385a2 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -255,4 +255,13 @@ interface IServerContainer {
* @return \OCP\Debug\IEventLogger
*/
function getEventLogger();
+
+ /**
+ * Get the active query logger
+ *
+ * The returned logger only logs data when debug mode is enabled
+ *
+ * @return \OCP\Debug\IQueryLogger
+ */
+ function getQueryLogger();
}