COM errorLog

提供: GeeklogJpWiki

lib-common.php>COM errorLog

説明

string COM_errorLog(string $logentry, [int $actionid = ''])

エラーログを記録します。$actionidを省略した場合はログと画面にエラーを表示し、1の場合はログにのみ記録し、2の場合は画面にのみエラーを表示します。

パラメータ

$logentry
Text to log to error log
$actionid
1. = write to log file, 2 = write to screen (default) both

返り値

If $actionid = 2 or '' then HTML formatted string (wrapped in block) else nothing

参考

個人用ツール