Browse Source

Add missing Logger::log()

pull/6054/head
Philipp Holzer 2 years ago
parent
commit
2a0a7cd42a
No known key found for this signature in database GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Core/Lock.php

+ 2
- 2
src/Core/Lock.php 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());
}
}


Loading…
Cancel
Save