Changeset 21582 for branches/version-2_12-dev/data/class/pages/LC_Page.php
- Timestamp:
- 2012/03/04 04:20:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/LC_Page.php
r21566 r21582 379 379 380 380 /** 381 * ログ出力を行う. 382 * 383 * ログイン中の会員IDを含めてログ出力します. 384 * 385 * @access protected 386 * @param string $mess ログメッセージ 387 * @param string $log_level ログレベル('Info' or 'Debug') 388 * @return void 381 * 前方互換用 382 * 383 * @deprecated 2.12.0 GC_Utils_Ex::gfPrintLog を使用すること 389 384 */ 390 385 function log($mess, $log_level) { 391 $mess = $mess . ' user=' . $_SESSION['customer']['customer_id']; 392 393 GC_Utils_Ex::gfFrontLog($mess, $log_level); 386 trigger_error('前方互換用メソッドが使用されました。', E_USER_WARNING); 387 // ログレベル=Debugの場合は、DEBUG_MODEがtrueの場合のみログ出力する 388 if ($log_level === 'Debug' && DEBUG_MODE === false) { 389 return; 390 } 391 392 // ログ出力 393 GC_Utils_Ex::gfPrintLog($mess, '', true); 394 394 } 395 395
Note: See TracChangeset
for help on using the changeset viewer.
