Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
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.
 
 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

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