summaryrefslogtreecommitdiffstats
path: root/lib/public/Log
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-01-28 13:00:13 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-01-28 13:00:13 +0100
commite00844488709552febdc07c19bed4c7ceb52a98d (patch)
tree44812e00bc9061fca2c2393b17982bdce3cf6f71 /lib/public/Log
parent46aaeb45612e20b6f460396533faf7f26ed1d6f7 (diff)
downloadnextcloud-server-e00844488709552febdc07c19bed4c7ceb52a98d.tar.gz
nextcloud-server-e00844488709552febdc07c19bed4c7ceb52a98d.zip
always require a message paramter for data logging
also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/Log')
-rw-r--r--lib/public/Log/IDataLogger.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Log/IDataLogger.php b/lib/public/Log/IDataLogger.php
index 895ba43f5ca..b5d3aa3075b 100644
--- a/lib/public/Log/IDataLogger.php
+++ b/lib/public/Log/IDataLogger.php
@@ -28,15 +28,15 @@ namespace OCP\Log;
* Interface IDataLogger
*
* @package OCP\Log
- * @since 18.0.0
+ * @since 18.0.1
*/
interface IDataLogger {
/**
* allows to log custom data, similar to how logException works
*
- * @since 18.0.0
+ * @since 18.0.1
*/
- public function logData(array $data, array $context = []): void;
+ public function logData(string $message, array $data, array $context = []): void;
}