marko / log-stream
Stream logging driver (stdout/stderr) for Marko Framework
0.13.0
2026-11-01 01:28 UTC
Requires
- php: ^8.5
- marko/config: 0.13.0
- marko/core: 0.13.0
- marko/log: 0.13.0
Requires (Dev)
- marko/log-file: 0.13.0
- marko/testing: 0.13.0
- pestphp/pest: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-03 19:19:00 UTC
README
Stream logging driver --- writes log records to stderr or stdout for containers and process supervisors.
Installation
composer require marko/log-stream
Quick Example
# Container environment: stderr only, one JSON object per line
LOG_HANDLERS=stream
LOG_FORMATTER=json
use Marko\Log\Contracts\LoggerInterface; class ImportService { public function __construct( private LoggerInterface $logger, ) {} public function import(string $file): void { $this->logger->info('Starting import', ['file' => $file]); } }
Documentation
Full usage, API reference, and examples: marko/log-stream