abuse-reporter/boot/init.php
2020-12-06 17:58:41 +00:00

11 lines
259 B
PHP

<?php
require("/root/scripts/abuse-reporter/vendor/autoload.php");
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
$logger = new Logger('default');
$logger->pushHandler(new StreamHandler("/root/scripts/abuse-reporter/logs/app.log"), Logger::INFO);