marko / log-file
File-based logging driver for Marko Framework
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- marko/config: 0.0.1
- marko/core: 0.0.1
- marko/log: 0.0.1
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-03-25 21:07:25 UTC
README
File-based logging driver --- writes log messages to disk with daily or size-based rotation.
Installation
composer require marko/log-file
Quick Example
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-file