Monolog\Logger::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( string $name )
$name string The logging channel
    public function __construct($name)
    {
        $this->name = $name;
    }

Usage Example

예제 #1
0
파일: Logger.php 프로젝트: ngreimel/kovent
 public function __construct($channel = self::CHANNEL_APPLICATION)
 {
     parent::__construct($channel);
     $this->addDatabaseHandler();
     $le = new Event($this);
     Events::dispatch('on_logger_create', $le);
 }
All Usage Examples Of Monolog\Logger::__construct