Skip to content

Commit cf6b22e

Browse files
committed
add trace levels as constants
1 parent cbd5475 commit cf6b22e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/IConfig.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
*/
2424
interface IConfig
2525
{
26+
/**
27+
* Define trace levels 0-3.
28+
*/
29+
const TRACE_OFF=0;
30+
const TRACE_BRIEF=1;
31+
const TRACE_VERBOSE=2;
32+
const TRACE_FULL=3;
33+
2634
/**
2735
* If the connection needs to be made through a firewall using a SAPRouter,
2836
* specify the SAPRouter parameters in the following format:
@@ -32,7 +40,7 @@ interface IConfig
3240
public function getSaprouter();
3341

3442
/**
35-
* Get the trace level (0-3)
43+
* Get the trace level (0-3). See constants TRACE_*.
3644
* @return int the trace level
3745
*/
3846
public function getTrace();

0 commit comments

Comments
 (0)