mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
Fixing spacing
This commit is contained in:
parent
5a2b1a9919
commit
dcf1abe3fe
|
|
@ -252,7 +252,7 @@ class FileLogger implements LoggerInterface
|
||||||
$replace['{ip}'] = sprintf('%--15s', $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0');
|
$replace['{ip}'] = sprintf('%--15s', $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0');
|
||||||
$replace['{version}'] = sprintf('%--15s', PHP_VERSION);
|
$replace['{version}'] = sprintf('%--15s', PHP_VERSION);
|
||||||
$replace['{os}'] = sprintf('%--15s', PHP_OS);
|
$replace['{os}'] = sprintf('%--15s', PHP_OS);
|
||||||
$replace['{line}'] = isset($context['line']) ? sprintf('%--15s', $context['line']) : '?';
|
$replace['{line}'] = sprintf('%--15s', $context['line'] ?? '?');
|
||||||
|
|
||||||
return strtr($message, $replace);
|
return strtr($message, $replace);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user