PHP code example of mintware-de / rotation-logger
1. Go to this page and download the library: Download mintware-de/rotation-logger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mintware-de / rotation-logger example snippets
use MintwareDe\RotationLogger\Rotation\RotateOptions;
use MintwareDe\RotationLogger\RotationLogger;
024 * 1_024, // 10 MB; size in bytes
rotate: 1, // Create 1 rollover file
),
);
$logger->debug('foo');