Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
logging_trait.php File Reference

Namespaces

namespace  core\task
 Adhoc task abstract class.
 

Functions

 core\task::get_trace ()
 Get the progress_trace.
 
 core\task::log ($message, $depth=1)
 Log a message to the progress tracer.
 
 core\task::log_finish ($message, $depth=0)
 Log an end message to the progress tracer.
 
 core\task::log_start ($message, $depth=0)
 Log a start message to the progress tracer.
 

Variables

stdClass core\task::$tracestats = null
 
trait core\task::logging_trait
 This trait includes functions to assist with logging in tasks.