Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
send ( ) |
public __construct ( string $name = 'phalcon', array $options = [] ) | ||
$name | string | |
$options | array |
public getFormatter ( ) : Phalcon\Logger\FormatterInterface | ||
return | Phalcon\Logger\FormatterInterface |
protected bool $isTransaction | ||
return | boolean |
protected array $logs | ||
return | array |