ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-18 19:55:49
Editing: DefaultLog.php
Cancel
Save Changes
<?php /** * Swift Mailer Default Logger * Please read the LICENSE file * @copyright Chris Corbyn <chris@w3style.co.uk> * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Log * @license GNU Lesser General Public License */ require_once dirname(__FILE__) . "/../ClassLoader.php"; Swift_ClassLoader::load("Swift_Log"); /** * The Default Logger class * @package Swift_Log * @author Chris Corbyn <chris@w3style.co.uk> */ class Swift_Log_DefaultLog extends Swift_Log { /** * Lines in the log * @var array */ var $entries = array(); /** * Add a log entry * @param string The text for this entry * @param string The label for the type of entry */ function add($text, $type = SWIFT_LOG_NORMAL) { $this->entries[] = $type . " " . $text; if ($this->getMaxSize() > 0) $this->entries = array_slice($this->entries, (-1 * $this->getMaxSize())); } /** * Dump the contents of the log to the browser. * @param boolean True if the string should be returned rather than output. */ function dump($return_only=false) { $ret = implode("\n", $this->entries); if (!$return_only) echo $ret; else return $ret; } /** * Empty the log */ function clear() { $this->failedRecipients = null; $this->failedRecipients = array(); $this->entries = null; $this->entries = array(); } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete