Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
progress_trace Class Reference

Progress trace class. More...

Inheritance diagram for progress_trace:
combined_progress_trace error_log_progress_trace html_list_progress_trace html_progress_trace null_progress_trace progress_trace_buffer text_progress_trace

Public Member Functions

 finished ()
 Called when the processing is finished.
 
 output ($message, $depth=0)
 Output an progress message in whatever format. More...
 

Detailed Description

Progress trace class.

Use this class from long operations where you want to output occasional information about what is going on, but don't know if, or in what format, the output should be.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ output()

progress_trace::output (   $message,
  $depth = 0 
)
abstract

Output an progress message in whatever format.

Parameters
string$messagethe message to output.
integer$depthindent depth for this message.

Reimplemented in combined_progress_trace, progress_trace_buffer, error_log_progress_trace, html_list_progress_trace, html_progress_trace, text_progress_trace, and null_progress_trace.


The documentation for this class was generated from the following file: