16 if (isset(
$DIC[
'ilLoggerFactory'])) {
21 public function int(
int $min = 0,
int $max = PHP_INT_MAX):
int
24 return random_int($min, $max);
25 }
catch (Throwable
$e) {
28 $logger->
error(
'No suitable random number generator found.');
Component logger with individual log levels by component id.
logStack(?int $a_level=null, string $a_message='')
Wrapper for generation of random numbers, strings, bytes.
int(int $min=0, int $max=PHP_INT_MAX)
logIfPossible(callable $c)