Results of 1 - 10 of about 23 for Logger (0.001 sec.)
- SeasLog::closeLoggerStream — Manually release stream flow from logger | PHP 8.3 11093
- SeasLog::closeLoggerStream (PECL seaslog >=1.8.6) SeasLog::closeLoggerStream — Manually release stream flow from logger 説明 public static function SeasLog::closeLoggerStream ( int $model , string $logger ): bool Manually release stream flo
... w from logger. SeasLog caches the stream handle opened by the log logger to save the overhead of creating a stream. The handle will be a ... (manually release function needs to update SeasLog 1.8.6 or updated version). パラメータ model Constant int. SEASLOG_CLOSE_LOGGER_STREAM_MOD_ALL SEASLOG_CLOSE_LOGGER_STREAM_MOD_ASSIGN logger The logger name. 戻り値 Return TRUE on released stream flow s ... uccess, FALSE on failure. 例 例1 SeasLog::closeLoggerStream() example <?php var_dump ( SeasLog :: closeLoggerStream ()); var_dump ( SeasLog :: closeLoggerStream ( SEASLOG_CLOSE ...
-
https://man.mtool.work/php/8.3/seaslog.closeloggerstream.html
- The SeasLog class | PHP 8.3 10757
- 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
... og_path = ? , string $key_word = ? , int $start = ? , int $limit = ? , int $order = ? ): mixed public static function closeLoggerStream ( int $model , string $logger ): bool public static function critical ( string $message , array $content = ? , strin ... g $logger = ? ): bool public static function debug ( string $message , array $content = ? , string $logger = ? ): bool public functi ... on __destruct () public static function emergency ( string $message , array $content = ? , string $logger = ? ): bool public static function error ( string $message , array $content = ? , string $logger = ? ): bool public static ...
-
https://man.mtool.work/php/8.3/class.seaslog.html
- SeasLog::setLogger — Set SeasLog logger name | PHP 8.3 10724
- 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 failure. 例 例1 SeasLog::setLogger() example <?php var_dump ( SeasLog :: setLogger ( 'testModu ... le/testLogger' )); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) 参考 SeasLog::getLastLogger() - Get SeasLog last logger ...
-
https://man.mtool.work/php/8.3/seaslog.setlogger.html
- 実行時設定 | PHP 8.3 9769
- 実行時設定 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.
... mote_port 514 INI_ALL seaslog.remote_timeout 1 INI_SYSTEM seaslog.default_basepath /var/log/www INI_SYSTEM seaslog.default_logger default INI_SYSTEM seaslog.default_template %T | %L | %P | %Q | %t | %M INI_SYSTEM seaslog.default_datetime_format Y-m-d H ... log.default_template . The log style finally formatted such as: <15>1 2017-08-27T01:24:59+08:00 vagrant-ubuntu-trusty test/logger[27171]: 2016-06-25 00:59:43 | DEBUG | 21423 | 599157af4e937 | 1466787583.322 | this is a neeke debug <14>1 2017-08-27T01:2 ... 4:59+08:00 vagrant-ubuntu-trusty test/logger[27171]: 2016-06-25 00:59:43 | INFO | 21423 | 599157af4e937 | 1466787583.323 | this is a info log <13>1 2017-08-27T01:24:59 ...
-
https://man.mtool.work/php/8.3/seaslog.configuration.html
- SeasLog::emergency — Record emergency log information | PHP 8.3 9450
- SeasLog::emergency (PECL seaslog >=1.0.0) SeasLog::emergency — Record emergency log information 説明 public static function SeasLog::emergency ( string $message , array $content = ? , string $logger = ? ): bool Record emergency log informat
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... ' )); //with content var_dump ( SeasLog :: emergency ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: emergency ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasL ...
-
https://man.mtool.work/php/8.3/seaslog.emergency.html
- SeasLog::alert — Record alert log information | PHP 8.3 9400
- 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"
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... sage' )); //with content var_dump ( SeasLog :: alert ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: alert ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog : ...
-
https://man.mtool.work/php/8.3/seaslog.alert.html
- SeasLog::critical — Record critical log information | PHP 8.3 9400
- 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.
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... e' )); //with content var_dump ( SeasLog :: critical ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: critical ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLo ...
-
https://man.mtool.work/php/8.3/seaslog.critical.html
- SeasLog::debug — Record debug log information | PHP 8.3 9400
- 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"
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... sage' )); //with content var_dump ( SeasLog :: debug ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: debug ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog : ...
-
https://man.mtool.work/php/8.3/seaslog.debug.html
- SeasLog::error — Record error log information | PHP 8.3 9400
- SeasLog::error (PECL seaslog >=1.0.0) SeasLog::error — Record error log information 説明 public static function SeasLog::error ( string $message , array $content = ? , string $logger = ? ): bool Record error log information. 注意 : "ERROR"
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... sage' )); //with content var_dump ( SeasLog :: error ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: error ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog : ...
-
https://man.mtool.work/php/8.3/seaslog.error.html
- SeasLog::info — Record info log information | PHP 8.3 9400
- SeasLog::info (PECL seaslog >=1.0.0) SeasLog::info — Record info log information 説明 public static function SeasLog::info ( string $message , array $content = ? , string $logger = ? ): bool Record info log information. 注意 : "INFO" - Inte
... sage` is `log info from {NAME}` and `content` is `array('NAME' => neeke)`, the log information will `log info from neeke`. logger The `logger` cased by the third param would be used right this right now, like a temp logger, when the function SeasLog::s ... etLogger() called in pre content. If `logger` NULL or "", SeasLog will use lastest logger setted by SeasLog::setLogger() . 戻り値 R ... ssage' )); //with content var_dump ( SeasLog :: info ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ))); //with tmp logger var_dump ( SeasLog :: info ( 'log message from {NAME}' ,array( 'NAME' => 'neeke' ), 'tmp_logger' )); var_dump ( SeasLog :: ...
-
https://man.mtool.work/php/8.3/seaslog.info.html