diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-10-15 13:14:13 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-10-20 13:38:38 +0200 |
commit | beb1c6ad74015a8065d0ee00c6dba24cdc699477 (patch) | |
tree | a82c90f1fc05aabf3286a5b50d79f7444b0db19f /lib/public/diagnostics/ieventlogger.php | |
parent | 4a8358bc509ed4f7771ae68f69fafed811a7e568 (diff) | |
download | nextcloud-server-beb1c6ad74015a8065d0ee00c6dba24cdc699477.tar.gz nextcloud-server-beb1c6ad74015a8065d0ee00c6dba24cdc699477.zip |
Allow adding events that hapend before the event logger was loaded
Diffstat (limited to 'lib/public/diagnostics/ieventlogger.php')
-rw-r--r-- | lib/public/diagnostics/ieventlogger.php | 8 |
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(); |