|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| log ($message, $level, $a=null, $depth=null, $display=false) | |
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 instantiated object)
TODO: Finish phpdocs
Definition at line 34 of file loggable.class.php.
| 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 moodle1_file_manager, restore_controller, backup_controller, restore_plan, moodle1_handler, base_task, base_converter, backup_plan, moodle1_converter, base_step, imscc11_converter, and imscc1_converter.