apd_set_session

(no version information, might be only in CVS)

apd_set_session -- 現在のデバッグレベルを変更あるいは設定する

説明

void apd_set_session ( int debug_level )

アプリケーション内で、場所によってデバッグのレベルを増減する際に使用可能です。 debug_level は以下の整数値を組み合わせた和です。

FUNCTION_TRACE      1
        ARGS_TRACE          2
        ASSIGNMENT_TRACE    4
        STATEMENT_TRACE     8
        MEMORY_TRACE        16
        TIMING_TRACE        32
        SUMMARY_TRACE       64

例 1. apd_set_session() の例

<?php
apd_set_session
(9);
?>