1 backup.class.inc | protected Backup::log($message, $replacements, $log_type) |
Log a message that occurs during a backup or migration process.
Often a log will not be able to be saved anywhere, since Backdrop may not be installed or in a working state, so log messages are held and can be retrieved and cleared as needed.
File
- core/
includes/ backup/ backup.class.inc, line 235 - Contains the Backup base class.
Class
- Backup
- Base class for creating backups.
Code
protected function log($message, $replacements, $log_type) {
$this->log[] = array($message, $replacements, $log_type);
}