- add documentation for EF API calling implementation
- greater adherence to standards
- better DI logic
This commit is contained in:
2026-07-13 17:09:36 +02:00
parent 250ee892dc
commit 1766057cb9
13 changed files with 235 additions and 57 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use Monolog\Formatter\JsonFormatter;
class LoggerFactory {
public static function create(string $name = null): Logger {
$ident = $name ?? Config::get('log_ident', 'api');
$ident = $name ?? 'api';
$logger = new Logger($ident);
$handler = new SyslogHandler($ident, LOG_USER);
$handler->setFormatter(new JsonFormatter());