1
1
Fork 0

Merge pull request #6054 from nupplaphil/lock_logger

Add missing Logger::log()
This commit is contained in:
Tobias Diekershoff 2018-10-31 18:04:07 +01:00 committed by GitHub
commit a9416330fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());
}
}