#4694 add feedback during installation, monolog

skala
Laurent Opprecht 13 years ago
parent d947f02005
commit 6aa9b2a5ca
  1. 2
      main/inc/lib/log.class.php

@ -38,7 +38,7 @@ class Log
static $result = null;
if (empty($result)) {
self::register_autoload();
$name = Chamilo::name();
$name = 'name';
$result = new Logger($name);
$handler = new Monolog\Handler\StreamHandler('php://stderr');
$handler->setFormatter(new Monolog\Formatter\LineFormatter('[%datetime%] [%level_name%] [%channel%]: %message% %context% %extra%' . PHP_EOL, 'Y-m-d H:i:s'));

Loading…
Cancel
Save