self::useAutoDriver();
}
} catch (\Exception $exception) {
- logger ('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\'');
+ Logger::log('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\'');
self::useAutoDriver();
}
}
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());
}
}