]> git.mxchange.org Git - friendica.git/commitdiff
Replacing deprecated log calls
authorMichael <heluecht@pirati.ca>
Wed, 18 Nov 2020 09:14:12 +0000 (09:14 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 18 Nov 2020 09:14:12 +0000 (09:14 +0000)
src/Database/DBStructure.php

index b1b30171f639d8ff302fe30a099a832e8641fdf1..6f3fe5dba5b2e718741ff44e03f155e1d1f6e3bd 100644 (file)
@@ -350,7 +350,7 @@ class DBStructure
 
                $errors = '';
 
-               Logger::log('updating structure', Logger::DEBUG);
+               Logger::info('updating structure');
 
                // Get the current structure
                $database = [];
@@ -363,7 +363,7 @@ class DBStructure
                        foreach ($tables AS $table) {
                                $table = current($table);
 
-                               Logger::log(sprintf('updating structure for table %s ...', $table), Logger::DEBUG);
+                               Logger::info('updating structure', ['table' => $table]);
                                $database[$table] = self::tableStructure($table);
                        }
                }