From 501e1aadd5ca24ebbd4e15ca556aff7ff703f6b1 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 28 Jan 2020 13:00:13 +0100 Subject: always require a message paramter for data logging also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon --- lib/public/Log/IDataLogger.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/public') 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; } -- cgit v1.2.3