芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/Loggers/ArrayLogger.php
size = $size; } /** * Add a log entry. * * @param string $entry */ public function add($entry) { $this->log[] = $entry; while (\count($this->log) > $this->size) { array_shift($this->log); } } /** * Clear the log contents. */ public function clear() { $this->log = []; } /** * Get this log as a string. * * @return string */ public function dump() { return implode(PHP_EOL, $this->log); } }