Files
michaelschiemer/src/Framework/Logging/Logger.php
Michael Schiemer fc3d7e6357 feat(Production): Complete production deployment infrastructure
- Add comprehensive health check system with multiple endpoints
- Add Prometheus metrics endpoint
- Add production logging configurations (5 strategies)
- Add complete deployment documentation suite:
  * QUICKSTART.md - 30-minute deployment guide
  * DEPLOYMENT_CHECKLIST.md - Printable verification checklist
  * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle
  * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference
  * production-logging.md - Logging configuration guide
  * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation
  * README.md - Navigation hub
  * DEPLOYMENT_SUMMARY.md - Executive summary
- Add deployment scripts and automation
- Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment
- Update README with production-ready features

All production infrastructure is now complete and ready for deployment.
2025-10-25 19:18:37 +02:00

62 lines
1.5 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Framework\Logging;
use App\Framework\Logging\ValueObjects\LogContext;
/**
* Basis-Interface für alle Logger
*
* Definiert die atomaren Log-Methoden, die von allen Loggern unterstützt werden müssen.
* Sowohl der Haupt-Logger als auch Channel-Logger implementieren diese Methoden.
*/
interface Logger
{
/**
* Log DEBUG level message
*/
public function debug(string $message, ?LogContext $context = null): void;
/**
* Log INFO level message
*/
public function info(string $message, ?LogContext $context = null): void;
/**
* Log NOTICE level message
*/
public function notice(string $message, ?LogContext $context = null): void;
/**
* Log WARNING level message
*/
public function warning(string $message, ?LogContext $context = null): void;
/**
* Log ERROR level message
*/
public function error(string $message, ?LogContext $context = null): void;
/**
* Log CRITICAL level message
*/
public function critical(string $message, ?LogContext $context = null): void;
/**
* Log ALERT level message
*/
public function alert(string $message, ?LogContext $context = null): void;
/**
* Log EMERGENCY level message
*/
public function emergency(string $message, ?LogContext $context = null): void;
/**
* Log with arbitrary level
*/
public function log(LogLevel $level, string $message, ?LogContext $context = null): void;
}