From 2a0a7cd42a919b75fffce30652281616f5fa4e03 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 31 Oct 2018 17:52:41 +0100 Subject: [PATCH] Add missing Logger::log() --- src/Core/Lock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } } -- 2.39.5