« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for loginfo (0.001 sec.)
実行時設定 | PHP 8.3 11012
実行時設定 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. ... rver, when seaslog.appender configured to 2 (TCP) or 3 (UDP) . When SeasLog send log to TCP/UDP,style follow RFC5424. The {logInfo} affected by seaslog.default_template . The log style finally formatted such as: <15>1 2017-08-27T01:24:59+08:00 vagrant-u ... "%T | %L | %P | %Q | %t | %M" , that's mean,default log style is: {dateTime} | {level} | {pid} | {uniqid} | {timeStamp} | {logInfo} If you custom log template, such as: seaslog.default_template = "[%T]:%L %P %Q %t %M" , that's will mean,log style was cu ... stom as: [{dateTime}]:{level} {pid} {uniqid} {timeStamp} {logInfo} Seaslog Default Variable Table Variable Name Description %L Level. %M Message. %T DateTime. Such as 2017-08-16 19:15:02 , ...
https://man.mtool.work/php/8.3/seaslog.configuration.html
SeasLog::setLogger — Set SeasLog logger name | PHP 8.3 10156
SeasLog::setLogger (PECL seaslog >=1.0.0) SeasLog::setLogger — Set SeasLog logger name 説明 public static function SeasLog::setLogger ( string $logger ): bool Use the Function SeasLog::setLogger() will change the value of function SeasLog:: ... getLastLogger() . Than's mean, SeasLog will record loginfo into the logger directory. パラメータ logger Logger name. 戻り値 Return TRUE on created logger disectory success, FALSE on ...
https://man.mtool.work/php/8.3/seaslog.setlogger.html
例 | PHP 8.3 6715
例 例1 Get and set base path <?php $basePath1 = SeasLog :: getBasePath (); SeasLog :: setBasePath ( '/log/base_test' ); $basePath2 = SeasLog :: getBasePath (); var_dump ( $basePath1 , $basePath2 ); ?> 上の例の出力は、 たとえば以下のようにな ... %Q | %t | %M" . That's mean,as the default,log record style is: `{dateTime} | {level} | {pid} | {uniqid} | {timeStamp} | {logInfo}`. 上の例の出力は、 たとえば以下のようになります。 seaslog.appender = 1 2014-07-27 08:53:52 | ERROR | 23625 | 599159975a9f ...
https://man.mtool.work/php/8.3/seaslog.examples.html
PREV 1 NEXT