bugfix
This commit is contained in:
parent
7971237fe1
commit
1cda4e6e3c
@ -18,7 +18,6 @@
|
|||||||
"danog/primemodule": "dev-master",
|
"danog/primemodule": "dev-master",
|
||||||
"phpseclib/phpseclib": "dev-ige",
|
"phpseclib/phpseclib": "dev-ige",
|
||||||
"vlucas/phpdotenv": "^2.4",
|
"vlucas/phpdotenv": "^2.4",
|
||||||
"krakjoe/pthreads-polyfill": "dev-master",
|
|
||||||
"erusev/parsedown": "^1.6",
|
"erusev/parsedown": "^1.6",
|
||||||
"ext-mbstring": "*"
|
"ext-mbstring": "*"
|
||||||
},
|
},
|
||||||
|
@ -58,7 +58,7 @@ class Logger
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$prefix = self::$prefix;
|
$prefix = self::$prefix;
|
||||||
if (class_exists('\Thread') && is_object(\Thread::getCurrentThread())) {
|
if (class_exists('\Thread') && method_exists('\Thread', 'getCurrentThread') && is_object(\Thread::getCurrentThread())) {
|
||||||
$prefix .= ' (t)';
|
$prefix .= ' (t)';
|
||||||
}
|
}
|
||||||
foreach (is_array($params) ? $params : [$params] as $param) {
|
foreach (is_array($params) ? $params : [$params] as $param) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user