Special type of trace that can be used for catching of output of other traces.
More...
Special type of trace that can be used for catching of output of other traces.
- Copyright
- Petr Skoda http://skodak.org
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
progress_trace_buffer::__construct |
( |
progress_trace |
$trace, |
|
|
|
$passthrough = true |
|
) |
| |
Constructor.
- Parameters
-
progress_trace | $trace | |
bool | $passthrough | true means output and buffer, false means just buffer and no output |
◆ get_buffer()
progress_trace_buffer::get_buffer |
( |
| ) |
|
Return internal text buffer.
- Return values
-
string | buffered plain text |
◆ output()
progress_trace_buffer::output |
( |
|
$message, |
|
|
|
$depth = 0 |
|
) |
| |
Output the trace message.
- Parameters
-
string | $message | the message to output. |
int | $depth | indent depth for this message. |
- Return values
-
void | output stored in buffer |
Reimplemented from progress_trace.
The documentation for this class was generated from the following file: