Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Namespaces | Functions | Variables
logging_trait.php File Reference

This file defines a trait to assist with logging in tasks. More...

Namespaces

 core\task
  
 

Functions

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

Variables

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

Detailed Description

This file defines a trait to assist with logging in tasks.

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