Moodle  2.2.1
http://www.collinsharper.com
loggable Interface Reference
Inheritance diagram for loggable:

Public Member Functions

 log ($message, $level, $a=null, $depth=null, $display=false)

Detailed Description

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.


Member Function Documentation

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.


The documentation for this interface was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations