Forum und email
apd_set_session

apd_set_session

(no version information, might be only in CVS)

apd_set_session -- Changes or sets the current debugging level

Opis

void apd_set_session ( int debug_level )

This can be used to increase or decrease debugging in a different area of your application.

Parametry

poziom_debugowania

Liczba, która powstaje poprzez dodanie do siebie stałych XXX_TRACE.

Użycie MEMORY_TRACE nie jest zalecane. Jest bardzo powolne i nie wydaje się zbyt dokładne. Stała ASSIGNMENT_TRACE nie jest jeszcze zaimplementowana.

Aby włączyć wszystkie funkcjonalne śledzenia (TIMING, FUNCTIONS, ARGS SUMMARY (takie jak strace -c)) użyj wartości 99

Zwracane wartości

Żadna wartość nie jest zwracana.

Przykłady

Przykład 1. apd_set_session() example

<?php
apd_set_session
(9);
?>