]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Logger Levels
[friendica.git] / src / Model / Contact.php
index 155b304abb6ec2961c68e0ef7dccdd057c45103f..5d571e30e1e8d7271e2a2587767cedd8923d5f58 100644 (file)
@@ -587,7 +587,7 @@ class Contact extends BaseObject
                                return;
                        }
                } elseif (!isset($contact['url'])) {
-                       Logger::log('Empty contact: ' . json_encode($contact) . ' - ' . System::callstack(20), LOGGER_DEBUG);
+                       Logger::log('Empty contact: ' . json_encode($contact) . ' - ' . System::callstack(20), Logger::DEBUG);
                }
 
                // Contact already archived or "self" contact? => nothing to do
@@ -1028,7 +1028,7 @@ class Contact extends BaseObject
         */
        public static function getIdForURL($url, $uid = 0, $no_update = false, $default = [], $in_loop = false)
        {
-               Logger::log("Get contact data for url " . $url . " and user " . $uid . " - " . System::callstack(), LOGGER_DEBUG);
+               Logger::log("Get contact data for url " . $url . " and user " . $uid . " - " . System::callstack(), Logger::DEBUG);
 
                $contact_id = 0;