From: Philipp Holzer Date: Wed, 31 Oct 2018 16:52:41 +0000 (+0100) Subject: Add missing Logger::log() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a0a7cd42a919b75fffce30652281616f5fa4e03;p=friendica.git Add missing Logger::log() --- diff --git a/src/Core/Lock.php b/src/Core/Lock.php index a5467c6442..91c444253a 100644 --- a/src/Core/Lock.php +++ b/src/Core/Lock.php @@ -48,7 +48,7 @@ class Lock self::useAutoDriver(); } } catch (\Exception $exception) { - logger ('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\''); + Logger::log('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\''); self::useAutoDriver(); } } @@ -70,7 +70,7 @@ class Lock self::$driver = new Lock\SemaphoreLockDriver(); return; } catch (\Exception $exception) { - logger ('Using Semaphore driver for locking failed: ' . $exception->getMessage()); + Logger::log('Using Semaphore driver for locking failed: ' . $exception->getMessage()); } }