Your IP : 18.225.149.238


Current Path : /home/sudancam/public_html3/games/wp-content/plugins/wp-rss-aggregator/src/Logger/
Upload File :
Current File : /home/sudancam/public_html3/games/wp-content/plugins/wp-rss-aggregator/src/Logger/LogReaderInterface.php

<?php

namespace RebelCode\Wpra\Core\Logger;

use Traversable;

/**
 * Interface for an object that can retrieve logs.
 *
 * @since 4.13
 */
interface LogReaderInterface
{
    /**
     * Retrieves a certain number of logs.
     *
     * @since 4.13
     *
     * @param int|null $num  Optional number of logs to read, or null to retrieve all the logs.
     * @param int      $page Optional page number to retrieve a particular page when $num is not null.
     *
     * @return array|Traversable The list of log entries.
     */
    public function getLogs($num = null, $page = 1);
}