« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 17 for getBuffer (0.001 sec.)
SeasLog::getBuffer — Get the logs buffer in memory as array | PHP 8.3 13121
SeasLog::getBuffer (PECL seaslog >=1.0.0) SeasLog::getBuffer — Get the logs buffer in memory as array 説明 public static function SeasLog::getBuffer (): array パラメータ この関数にはパラメータはありません。 戻り値 Return an array from logs ... buffer in memory. 例 例1 SeasLog::getBuffer() example <?php var_dump ( SeasLog :: info ( 'info log' )); var_dump ( SeasLog :: debug ( 'debug log' )); var_dump ( SeasL ... og :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) array(1) { ["/var/log/www/default/20180707.l ... 8d5 | 1530931412.810 | debug log " } } 参考 seaslog.use_buffer seaslog.buffer_size seaslog.buffer_disabled_in_cli SeasLog::getBufferEnabled() - Determin if buffer enabled SeasLog::flushBuffer() - Flush logs buffer, dump to appender file, or send to remote ...
https://man.mtool.work/php/8.3/seaslog.getbuffer.html
Swoole\MySQL::getBuffer — Description | PHP 8.3 11759
Swoole\MySQL::getBuffer (PECL swoole >= 1.9.0) Swoole\MySQL::getBuffer — Description 説明 public function Swoole\MySQL::getBuffer (): ReturnType 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラ ...
https://man.mtool.work/php/8.3/swoole-mysql.getbuffer.html
SeasLog::log — The Common Record Log Function | PHP 8.3 10397
SeasLog::log (PECL seaslog >=1.0.0) SeasLog::log — The Common Record Log Function 説明 public static function SeasLog::log ( string $level , string $message = ? , array $content = ? , string $logger = ? ): bool The Common Record Log Functio ... ilure. 例 例1 SeasLog::log() example <?php var_dump ( SeasLog :: log ( SEASLOG_INFO , 'info log' )); var_dump ( SeasLog :: getBuffer ()); //create a new level self-help. var_dump ( SeasLog :: log ( 'MySelfLevel' , 'info log' )); var_dump ( SeasLog :: getB ... ontent` var_dump ( SeasLog :: log ( 'MySelfLevel' , 'info log {NAME}' ,array( 'NAME' => 'neeke' ))); var_dump ( SeasLog :: getBuffer ()); //with `logger` var_dump ( SeasLog :: log ( 'MySelfLevel' , 'info log {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logge ... r' )); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) array(1) { ["/var/log/www/default/20180707.log"]=> arra ...
https://man.mtool.work/php/8.3/seaslog.log.html
SeasLog::flushBuffer — Flush logs buffer, dump to appender file, or send to rem... 10276
SeasLog::flushBuffer (PECL seaslog >=1.0.0) SeasLog::flushBuffer — Flush logs buffer, dump to appender file, or send to remote api with tcp/udp 説明 public static function SeasLog::flushBuffer (): bool Flush logs buffer by seaslog.appender ... asLog::flushBuffer() example <?php SeasLog :: info ( 'info log' ); SeasLog :: debug ( 'debug log' ); var_dump ( SeasLog :: getBuffer ()); var_dump ( SeasLog :: flushBuffer ()); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようにな ... ebug log " } } bool(true) array(0) { } 参考 seaslog.use_buffer seaslog.buffer_size seaslog.buffer_disabled_in_cli SeasLog::getBufferEnabled() - Determin if buffer enabled SeasLog::getBuffer() - Get the logs buffer in memory as array 他のマニュアルの関連ペ ...
https://man.mtool.work/php/8.3/seaslog.flushbuffer.html
The Swoole\MySQL class | PHP 8.3 9604
The Swoole\MySQL class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\MySQL { /* メソッド */ public function close (): void public function connect ( array $server_config , callable $callback ): void public function __destruct (): ... void public function getBuffer (): ReturnType public function on ( string $event_name , callable $callback ): void public function query ( string $sql , ... L::__construct — Construct an async MySQL client. Swoole\MySQL::__destruct — Destroy the async MySQL client. Swoole\MySQL::getBuffer — Description Swoole\MySQL::on — Register callback function based on event name. Swoole\MySQL::query — Run the SQL query. ...
https://man.mtool.work/php/8.3/class.swoole-mysql.html
The SeasLog class | PHP 8.3 8466
The SeasLog class (PECL seaslog >=1.0.0) はじめに クラス概要 class SeasLog { /* メソッド */ public static function alert ( string $message , array $content = ? , string $logger = ? ): bool public static function analyzerCount ( string $leve ... public static function flushBuffer (): bool public static function Seaslog::getBasePath (): string public static function getBuffer (): array public static function getBufferEnabled (): bool public static function getDatetimeFormat (): string public stat ... s buffer, dump to appender file, or send to remote api with tcp/udp SeasLog::getBasePath — Get SeasLog base path. SeasLog::getBuffer — Get the logs buffer in memory as array SeasLog::getBufferEnabled — Determin if buffer enabled SeasLog::getDatetimeFormat ...
https://man.mtool.work/php/8.3/class.seaslog.html
SeasLog::getBufferEnabled — Determin if buffer enabled | PHP 8.3 7897
SeasLog::getBufferEnabled (PECL seaslog >=1.0.0) SeasLog::getBufferEnabled — Determin if buffer enabled 説明 public static function SeasLog::getBufferEnabled (): bool Result join seaslog.use_buffer and seaslog.buffer_disabled_in_cli . パラメ ... running in cli, seaslog.use_buffer setting will be discarded, Seaslog write to the Data Store IMMEDIATELY. 例 例1 SeasLog::getBufferEnabled() example <?php var_dump ( SeasLog :: getBufferEnabled ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool ... (false) 参考 seaslog.use_buffer seaslog.buffer_size seaslog.buffer_disabled_in_cli SeasLog::getBuffer() - Get the logs buffer in memory as array SeasLog::flushBuffer() - Flush logs buffer, dump to appender file, or send to r ...
https://man.mtool.work/php/8.3/seaslog.getbufferenabled.html
SeasLog::alert — Record alert log information | PHP 8.3 7552
SeasLog::alert (PECL seaslog >=1.0.0) SeasLog::alert — Record alert log information 説明 public static function SeasLog::alert ( string $message , array $content = ? , string $logger = ? ): bool Record alert log information. 注意 : "ALERT" ... ar_dump ( SeasLog :: alert ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) bool(true) array(2) { ["/var/log/www/default ...
https://man.mtool.work/php/8.3/seaslog.alert.html
SeasLog::critical — Record critical log information | PHP 8.3 7552
SeasLog::critical (PECL seaslog >=1.0.0) SeasLog::critical — Record critical log information 説明 public static function SeasLog::critical ( string $message , array $content = ? , string $logger = ? ): bool Record critical log information. ... dump ( SeasLog :: critical ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) bool(true) array(2) { ["/var/log/www/default ...
https://man.mtool.work/php/8.3/seaslog.critical.html
SeasLog::debug — Record debug log information | PHP 8.3 7552
SeasLog::debug (PECL seaslog >=1.0.0) SeasLog::debug — Record debug log information 説明 public static function SeasLog::debug ( string $message , array $content = ? , string $logger = ? ): bool Record debug log information. 注意 : "DEBUG" ... ar_dump ( SeasLog :: debug ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog :: getBuffer ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) bool(true) array(2) { ["/var/log/www/default ...
https://man.mtool.work/php/8.3/seaslog.debug.html
PREV 1 2 NEXT