From fb63926139a3a403a6a6ddf9dc08c454215a6407 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 6 Feb 2022 19:42:48 +0100 Subject: [PATCH] Continued: - let's not mess up logfiles with \n characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../output/raw/class_FrameworkRawFileOutputPointer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php b/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php index bff94f4f..a3c5b0a4 100644 --- a/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php +++ b/framework/main/classes/file_directories/output/raw/class_FrameworkRawFileOutputPointer.php @@ -98,7 +98,7 @@ class FrameworkRawFileOutputPointer extends BaseFileIo implements OutputPointer */ public function writeToFile (string $dataStream) { // Validate parameter and class own attributes - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('RAW-FILE-OUTPUT-POINTER: dataStream(%d)=%s - CALLED!', strlen($dataStream), $dataStream)); + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('RAW-FILE-OUTPUT-POINTER: dataStream(%d)=%s (trimmed) - CALLED!', strlen($dataStream), trim($dataStream))); if (empty($dataStream)) { // Empty data stream throw new InvalidArgumentException('Parameter "dataStream" is empty'); -- 2.39.5