Logger that stores HTML log data in memory, ready for later display.
More...
|
| calculate_checksum () |
| This function will return one unique and stable checksum for one instance of the class implementing it.
|
|
| close () |
| Close any resource the logger may have open.
|
|
| destroy () |
| Destroy (nullify) the chain of loggers references, also closing resources when needed.
|
|
| get_html () |
| Gets the full HTML content of the log.
|
|
| get_level () |
|
| get_next () |
|
| is_checksum_correct ($checksum) |
| Given one checksum, returns if matches object's checksum (true) or no (false)
|
|
| process ($message, $level, $options=null) |
|
| set_next ($next) |
|
|
| action ($message, $level, $options=null) |
|
| get_datestr () |
|
| get_levelstr ($level) |
|
| get_nexts () |
|
| get_prefix ($level, $options) |
|
| is_circular_reference ($obj) |
|
|
string | $html = '' |
| HTML output.
|
|
| $level |
|
| $next |
|
| $showdate |
|
| $showlevel |
|
Logger that stores HTML log data in memory, ready for later display.
- Copyright
- 2013 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ action()
core_backup_html_logger::action |
( |
| $message, |
|
|
| $level, |
|
|
| $options = null ) |
|
protected |
◆ calculate_checksum()
base_logger::calculate_checksum |
( |
| ) |
|
|
inherited |
This function will return one unique and stable checksum for one instance of the class implementing it.
It's each implementation responsibility to do it recursively if needed and use optional store (caching) of the checksum if necessary/possible
Implements checksumable.
◆ close()
Close any resource the logger may have open.
- Since
- Moodle 3.1
Reimplemented in file_logger.
◆ destroy()
Destroy (nullify) the chain of loggers references, also closing resources when needed.
- Since
- Moodle 3.1
◆ get_html()
core_backup_html_logger::get_html |
( |
| ) |
|
Gets the full HTML content of the log.
- Return values
-
string | HTML content of log |
◆ is_checksum_correct()
base_logger::is_checksum_correct |
( |
| $checksum | ) |
|
|
inherited |
Given one checksum, returns if matches object's checksum (true) or no (false)
Implements checksumable.
The documentation for this class was generated from the following file: