Results of 1 - 10 of about 40 for SeasLog (0.002 sec.)
- 実行時設定 | PHP 8.3 9985
- 実行時設定 php.ini の設定により動作が変化します。 Seaslog 設定オプション 名前 デフォルト 変更可能 変更履歴 seaslog.appender 1 INI_SYSTEM seaslog.appender_retry 0 INI_ALL seaslog.level 8 INI_ALL seaslog.remote_host 127.0.0.1 INI_ALL seaslog.
... remote_port 514 INI_ALL seaslog.remote_timeout 1 INI_SYSTEM seaslog.default_basepath /var/log/www INI_SYSTEM seaslog.default_logger default INI_SYSTEM sea ... slog.default_template %T | %L | %P | %Q | %t | %M INI_SYSTEM seaslog.default_datetime_format Y-m-d H:i:s INI_SYSTEM seaslog.trace_error 1 INI_ALL seaslog.trace_exception 0 INI_SYSTEM seaslog. ... trace_notice 0 INI_ALL seaslog.trace_warning 0 INI_ALL seaslog.use_buffer 0 INI_SYSTEM seaslog.buffer_size 0 INI_ALL seaslog.buffer_disabled_in_cli 0 INI ...
-
https://man.mtool.work/php/8.3/seaslog.configuration.html
- Seaslog | PHP 8.3 9954
- Seaslog はじめに The Seaslog is an effective,fast,stable log extension for PHP. The log journal,which is usually the operate record of the system, software and the application record. Through the analysis of the log,it can facilitate users
... uration (preferably without configuration) Clear log format and easy understanding Simple application and well performance Seaslog just meet these demands. What is provided at present: In the PHP project, record the log specification and repidly. Config ... UDP port, send with RFC5424 Support RequestId differentiated requests Support for log template customizations Read More » SeasLog Document at Github. インストール/設定 要件 インストール手順 実行時設定 リソース型 定義済み定数 例 Seaslog 関数 seaslog_get ... _author — Get SeasLog author. seaslog_get_version — Get SeasLog version. SeasLog — The SeasLog class SeasLog::alert — Record alert log informati ...
-
https://man.mtool.work/php/8.3/book.seaslog.html
- The SeasLog class | PHP 8.3 9704
- 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
... ssage , array $content = ? , string $logger = ? ): bool public static function flushBuffer (): bool public static function Seaslog::getBasePath (): string public static function getBuffer (): array public static function getBufferEnabled (): bool public ... g $value ): bool public static function warning ( string $message , array $content = ? , string $logger = ? ): bool } 目次 SeasLog::alert — Record alert log information SeasLog::analyzerCount — Get log count by level, log_path and key_word SeasLog::anal ... yzerDetail — Get log detail by level, log_path, key_word, start, limit, order SeasLog::closeLoggerStream — Manually release stream flow from logger SeasLog::__construct — Description SeasLog::critical — Recor ...
-
https://man.mtool.work/php/8.3/class.seaslog.html
- SeasLog::log — The Common Record Log Function | PHP 8.3 9158
- 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
... n. パラメータ level Can use level in: SEASLOG_DEBUG SEASLOG_INFO SEASLOG_NOTICE SEASLOG_WARNING SEASLOG_ERROR SEASLOG_CRITICAL SEASLOG_ALERT SEASLOG_EMERGENCY Or you ca ... e`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::setLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() ... . 戻り値 Return TRUE on record log information success, FALSE on failure. 例 例1 SeasLog::log() example <?php var_dump ( SeasLog :: log ( SEASLOG_INFO , 'info log' )); var_dump ( SeasLog :: getBuffer ()); //crea ...
-
https://man.mtool.work/php/8.3/seaslog.log.html
- 定義済み定数 | PHP 8.3 8737
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SEASLOG_VERSION ( string ) SEASLOG_AUTHOR ( string ) SEASLOG_ALL ( string ) "
... ALL" SEASLOG_DEBUG ( string ) "DEBUG" - Detailed debug information.Fine-grained information events. SEASLOG_INFO ( string ) "INFO" - In ... teresting events.Emphasizes the running process of the application. SEASLOG_NOTICE ( string ) "NOTICE" - Normal but significant events.Information that is more important than the INFO level during e ... xecution. SEASLOG_WARNING ( string ) "WARNING" - Exceptional occurrences that are not errors.Potentially aberrant information that needs att ...
-
https://man.mtool.work/php/8.3/seaslog.constants.html
- SeasLog::getRequestVariable — Get SeasLog request variable | PHP 8.3 8737
- SeasLog::getRequestVariable (PECL seaslog >=1.9.0) SeasLog::getRequestVariable — Get SeasLog request variable 説明 public static function SeasLog::getRequestVariable ( int $key ): bool Get SeasLog request variable. パラメータ key Constant i
... nt. SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT SEASLOG_REQUEST_VARIABLE_REQUEST_URI SEASLOG_REQUEST_VARIABLE_REQUEST_METHOD SEASLOG_REQUEST_ ... VARIABLE_CLIENT_IP 戻り値 Return request variable value on set success. 例 例1 SeasLog::getRequestVariable() example <?php $sDomainPort = 'domain:port' ; $sRequestUri = 'uri' ; $sRequestMethod = 'method' ; $sC ... lientIp = 'client_ip' ; $iErrorKey = 1000 ; $oSeasLog = new SeasLog (); var_dump ( $oSeasLog -> setRequestVariable ( SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT , $sDomainPort )); var ...
-
https://man.mtool.work/php/8.3/seaslog.getrequestvariable.html
- SeasLog::getDatetimeFormat — Get SeasLog datetime format style | PHP 8.3 8706
- SeasLog::getDatetimeFormat (PECL seaslog >=1.0.0) SeasLog::getDatetimeFormat — Get SeasLog datetime format style 説明 public static function SeasLog::getDatetimeFormat (): string Get SeasLog datetime format style. Use the Function SeasLog::
... getDatetimeFormat() will get the value of seaslog.default_datetime_format what configured in php.ini(seaslog.ini). パラメータ この関数にはパラメータはありません。 戻り値 Ge ... t SeasLog datetime format style of seaslog.default_datetime_format . Use the Function SeasLog::setDatetimeFormat() will change this ... value. 例 例1 SeasLog::getDatetimeFormat() example <?php var_dump ( SeasLog :: getDateTimeFormat ()); var_dump ( SeasLog :: setDateTimeFormat ( ...
-
https://man.mtool.work/php/8.3/seaslog.getdatetimeformat.html
- SeasLog::setRequestVariable — Manually set SeasLog request variable | PHP 8.3 8706
- SeasLog::setRequestVariable (PECL seaslog >=1.9.0) SeasLog::setRequestVariable — Manually set SeasLog request variable 説明 public static function SeasLog::setRequestVariable ( int $key , string $value ): bool Manually set SeasLog request v
... ariable. パラメータ key Constant int. SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT SEASLOG_REQUEST_VARIABLE_REQUEST_URI SEASLOG_REQUEST_VARIABLE_REQUEST_METHOD SEASLOG_REQUEST_ ... VARIABLE_CLIENT_IP value The request variable value. 戻り値 Return TRUE on set success, FALSE on failure. 例 例1 SeasLog::setRequestVariable() example <?php $sDomainPort = 'domain:port' ; $sRequestUri = 'uri' ; $sRequestMethod = 'method' ; $sC ... lientIp = 'client_ip' ; $iErrorKey = 1000 ; $oSeasLog = new SeasLog (); var_dump ( $oSeasLog -> setRequestVariable ( SEASLOG_REQUEST_VARIABLE_DOMAIN_PORT , $sDomainPort )); var ...
-
https://man.mtool.work/php/8.3/seaslog.setrequestvariable.html
- SeasLog::getLastLogger — Get SeasLog last logger path | PHP 8.3 8612
- SeasLog::getLastLogger (PECL seaslog >=1.0.0) SeasLog::getLastLogger — Get SeasLog last logger path 説明 public static function SeasLog::getLastLogger (): string Use the Function SeasLog::getLastLogger() will get the value of seaslog.defaul
... t_logger what configured in php.ini(seaslog.ini). パラメータ この関数にはパラメータはありません。 戻り値 Use the Function SeasLog::setLogger() will change the value o ... f function SeasLog::getLastLogger() . 例 例1 SeasLog::getLastLogger() example <?php var_dump ( SeasLog :: getLastLogger ()); SeasLog :: setLo ... gger ( 'theNewLogger' ); var_dump ( SeasLog :: getLastLogger ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(7) "default" string(12) "theNewLogger" 参考 ...
-
https://man.mtool.work/php/8.3/seaslog.getlastlogger.html
- SeasLog::getBufferEnabled — Determin if buffer enabled | PHP 8.3 8550
- 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 . パラメ
... ータ この関数にはパラメータはありません。 戻り値 Return TRUE on seaslog.use_buffer is true. If switch seaslog.buffer_disabled_in_cli on, and running in cli, seaslog.use_buffer setting will be di ... scarded, Seaslog write to the Data Store IMMEDIATELY. 例 例1 SeasLog::getBufferEnabled() example <?php var_dump ( SeasLog :: getBufferEnabl ... ed ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(false) 参考 seaslog.use_buffer seaslog.buffer_size seaslog.buffer_disabled_in_cli SeasLog::getBuffer() - Get the logs buffer in memory as arra ...
-
https://man.mtool.work/php/8.3/seaslog.getbufferenabled.html