Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
error_log_progress_trace Class Reference

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

Inheritance diagram for error_log_progress_trace:
progress_trace

Public Member Functions

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

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 html_list_progress_trace, progress_trace_buffer, and combined_progress_trace.

◆ 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: