Esempio n. 1
0
 public function __construct($format = null)
 {
     if (null === $format) {
         $format = '[%type%] %timestamp:Y-m-d H:i:s% %title% - %message%';
     }
     parent::__construct($format);
 }
Esempio n. 2
0
    public function __construct($format = null)
    {
        if (null === $format) {
            $format = <<<EOT
Type: %type%
Date: %timestamp:Y-m-d H:i:s%
Title: %title%
Message: %message%

EOT;
        }
        parent::__construct($format);
    }