예제 #1
0
<?php

/**
 * @author Marco Bunge
 * @copyright 2012 Marco Bunge <*****@*****.**>
 */
use Efika\Common\Logger;
require_once '../src/app/boot/bootstrap.php';
echo "<pre>";
echo "<h2>logger</h2>";
echo Logger::getInstance()->toText();
echo "</pre>";
 /**
  *
  */
 public function connect()
 {
     $this->getApp()->attachEventHandlerAggregate($this);
     Logger::getInstance()->scope(self::LOGGER_SCOPE)->info('service connected');
 }