Свойство | Тип | Описание | |
---|---|---|---|
$isTransaction | boolean | Flag for the transaction | |
$logs | array | Storage for holding all messages until they are ready to be sent to server. | |
$name | string | Name | |
$options | array | Adapter options | |
$socket | resource |
Метод | Описание | |
---|---|---|
__construct ( string $name = 'phalcon', array $options = [] ) | Class constructor. | |
begin ( ) | ||
close ( ) : boolean | ||
commit ( ) | ||
getFormatter ( ) : Phalcon\Logger\FormatterInterface | ||
logInternal ( string $message, integer $type, integer $time, array $context = [] ) | Writes the log. |
Метод | Описание | |
---|---|---|
send ( ) |
public __construct ( string $name = 'phalcon', array $options = [] ) | ||
$name | string | |
$options | array |
public getFormatter ( ) : Phalcon\Logger\FormatterInterface | ||
Результат | Phalcon\Logger\FormatterInterface |
protected bool $isTransaction | ||
Результат | boolean |
protected array $logs | ||
Результат | array |