public function __construct($format = null) { if (null === $format) { $format = '[%type%] %timestamp:Y-m-d H:i:s% %title% - %message%'; } parent::__construct($format); }
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); }