aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-01-28 13:00:13 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-02-10 14:11:05 +0000
commit501e1aadd5ca24ebbd4e15ca556aff7ff703f6b1 (patch)
treef0ad792d1f970ce8c48f49ff31b3dd315b2cc226 /lib/public
parent02c0a8fbed9a5f2142e80ba52b330c9b77ff1ed8 (diff)
downloadnextcloud-server-501e1aadd5ca24ebbd4e15ca556aff7ff703f6b1.tar.gz
nextcloud-server-501e1aadd5ca24ebbd4e15ca556aff7ff703f6b1.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')
-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;
}