Cachearium\Backend\CacheFilesystem::report PHP Method

report() public method

(non-PHPdoc)
See also: Cachearium\CacheAbstract::report()
public report ( )
    public function report()
    {
        if ($this->should_log == false) {
            return;
        }
        echo '<div class="cachearium cachearium-filesystem"><h2>Cache FS system</h2>';
        echo '<h3>System is: ' . ($this->enabled ? 'enabled' : 'disabled') . '</h3>';
        echo '<ul>';
        foreach ($this->cache_log as $entry) {
            echo '<li>' . CacheLogEnum::getName($entry['status']) . $entry['message'] . '</li>';
        }
        echo '</ul></div>';
    }