Класс Phalcon\Logger\Formatter\AbstractFormatter

Реализует Phalcon\Logger\Formatter\FormatterInterface

Source on GitHub

Пространство имен Phalcon\Logger\Formatter
Использует DateTimeImmutable, DateTimeZone, Phalcon\Logger, Phalcon\Logger\Item
Реализует FormatterInterface

Свойства

/**
 * Формат даты по умолчанию
 *
 * @var string
 */
protected dateFormat;

Методы

public function getDateFormat(): string

 

public function interpolate( string $message, mixed $context = null );

Интерполирует значения контекста в заполнители сообщений

Смотреть http://www.php-fig.org/psr/psr-3/ Section 1.2 Message

public function setDateFormat( string $dateFormat )

 

protected function getFormattedDate(): string;

Возвращает дату, отформатированную для регистратора.