summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-24 14:37:15 +0200
committerRobin Appelman <robin@icewind.nl>2016-08-24 14:37:15 +0200
commit1c3b1e5797da8a7a398a59a353e1616ba518fc59 (patch)
tree79b13f1607f80a3b9e6e314193bf52de271c19e6 /lib/public
parent8d8366762be728f10af7ae9e465dcdba727d0eaf (diff)
downloadnextcloud-server-1c3b1e5797da8a7a398a59a353e1616ba518fc59.tar.gz
nextcloud-server-1c3b1e5797da8a7a398a59a353e1616ba518fc59.zip
add stacktrace to query logger
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Diagnostics/IQuery.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/Diagnostics/IQuery.php b/lib/public/Diagnostics/IQuery.php
index 9aaf7c423b9..0bd1a6d9685 100644
--- a/lib/public/Diagnostics/IQuery.php
+++ b/lib/public/Diagnostics/IQuery.php
@@ -47,4 +47,16 @@ interface IQuery {
* @since 8.0.0
*/
public function getDuration();
+
+ /**
+ * @return float
+ * @since 9.2.0
+ */
+ public function getStartTime();
+
+ /**
+ * @return array
+ * @since 9.2.0
+ */
+ public function getStacktrace();
}