]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Logger.php
Removing some notices again
[friendica.git] / src / Core / Logger.php
index c9253a83e913ea92f03e5e06c1b3f8dea6eddc04..f9cb8cde01f254d6e5ee0d540f7cb5ac0892cd9b 100644 (file)
@@ -115,6 +115,10 @@ class Logger extends BaseObject
             $processId = $a->process_id;
         }
 
+        if (!is_string($msg)) {
+               $msg = var_export($msg, true);
+        }
+
         $callers = debug_backtrace();
         $logline = sprintf("%s@\t%s:\t%s:\t%s\t%s\t%s\n",
                 DateTimeFormat::utcNow(),