Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Interface to apply to all the classes we want to be able to write to logs. More...
Public Member Functions | |
log ($message, $level, $a=null, $depth=null, $display=false) | |
This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed. More... | |
Interface to apply to all the classes we want to be able to write to logs.
Any class being part of one backup/restore and needing to senf informatio to logs must implement this interface (and have access to the @logger instantiated object)
TODO: Finish phpdocs
loggable::log | ( | $message, | |
$level, | |||
$a = null , |
|||
$depth = null , |
|||
$display = false |
|||
) |
This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed.
Implemented in base_controller, base_converter, imscc1_converter, imscc11_converter, moodle1_handler, moodle1_converter, moodle1_file_manager, backup_plan, base_step, base_task, and restore_plan.