mirror of
https://github.com/friendica/friendica
synced 2025-04-24 21:50:10 +00:00
Add Monolog
This commit is contained in:
parent
518f28a7bf
commit
2e602afd3e
18 changed files with 736 additions and 164 deletions
|
@ -3,7 +3,11 @@
|
|||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$a = new Friendica\App(dirname(__DIR__));
|
||||
use Friendica\Util\LoggerFactory;
|
||||
|
||||
$logger = LoggerFactory::create('console');
|
||||
|
||||
$a = new Friendica\App(dirname(__DIR__), $logger);
|
||||
\Friendica\BaseObject::setApp($a);
|
||||
|
||||
(new Friendica\Core\Console($argv))->execute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue