aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-15 13:14:13 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-20 13:38:38 +0200
commitbeb1c6ad74015a8065d0ee00c6dba24cdc699477 (patch)
treea82c90f1fc05aabf3286a5b50d79f7444b0db19f /lib/public
parent4a8358bc509ed4f7771ae68f69fafed811a7e568 (diff)
downloadnextcloud-server-beb1c6ad74015a8065d0ee00c6dba24cdc699477.tar.gz
nextcloud-server-beb1c6ad74015a8065d0ee00c6dba24cdc699477.zip
Allow adding events that hapend before the event logger was loaded
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/diagnostics/ieventlogger.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/diagnostics/ieventlogger.php b/lib/public/diagnostics/ieventlogger.php
index fa5880bfea6..cd9f2768ca3 100644
--- a/lib/public/diagnostics/ieventlogger.php
+++ b/lib/public/diagnostics/ieventlogger.php
@@ -25,6 +25,14 @@ interface IEventLogger {
public function end($id);
/**
+ * @param string $id
+ * @param string $description
+ * @param float $start
+ * @param float $end
+ */
+ public function log($id, $description, $start, $end);
+
+ /**
* @return \OCP\Diagnostics\IEvent[]
*/
public function getEvents();