mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Adding Develop and normal Logging instances
This commit is contained in:
parent
1702cb73e7
commit
8f9c0fe149
14 changed files with 454 additions and 214 deletions
|
@ -6,7 +6,7 @@ namespace Friendica;
|
|||
|
||||
require_once 'boot.php';
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Util\LoggerFactory;
|
||||
|
||||
/**
|
||||
* Basic object
|
||||
|
@ -27,7 +27,7 @@ class BaseObject
|
|||
public static function getApp()
|
||||
{
|
||||
if (empty(self::$app)) {
|
||||
$logger = Logger::create('app');
|
||||
$logger = $logger = LoggerFactory::create('app');
|
||||
self::$app = new App(dirname(__DIR__), $logger);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue