Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
error_log_progress_trace Class Reference

This subclass of progress_trace outputs to error log. More...

Inheritance diagram for error_log_progress_trace:

Public Member Functions

 __construct ($prefix='')
 Constructor.
 
 finished ()
 Called when the processing is finished.
 
 output ($message, $depth=0)
 Output the trace message.
 

Protected Attributes

string $prefix
 log prefix
 

Detailed Description

This subclass of progress_trace outputs to error log.

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

Constructor & Destructor Documentation

◆ __construct()

error_log_progress_trace::__construct ( $prefix = '')

Constructor.

Parameters
string$prefixoptional log prefix

Member Function Documentation

◆ finished()

progress_trace::finished ( )
inherited

Called when the processing is finished.

Reimplemented in combined_progress_trace, html_list_progress_trace, and progress_trace_buffer.

◆ output()

error_log_progress_trace::output ( $message,
$depth = 0 )

Output the trace message.

Parameters
string$message
int$depth
Return values
voidOutput is sent to error log.

Reimplemented from progress_trace.


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