1
1
Fork 0

Add missing Logger::log()

This commit is contained in:
Philipp Holzer 2018-10-31 17:52:41 +01:00
parent 50ba028094
commit 2a0a7cd42a
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -48,7 +48,7 @@ class Lock
self::useAutoDriver(); self::useAutoDriver();
} }
} catch (\Exception $exception) { } catch (\Exception $exception) {
logger ('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\''); Logger::log('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\'');
self::useAutoDriver(); self::useAutoDriver();
} }
} }
@ -70,7 +70,7 @@ class Lock
self::$driver = new Lock\SemaphoreLockDriver(); self::$driver = new Lock\SemaphoreLockDriver();
return; return;
} catch (\Exception $exception) { } catch (\Exception $exception) {
logger ('Using Semaphore driver for locking failed: ' . $exception->getMessage()); Logger::log('Using Semaphore driver for locking failed: ' . $exception->getMessage());
} }
} }