2018-04-24 16:14:00 -04:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-04-24 16:14:00 -04:00
|
|
|
*/
|
2018-04-25 06:26:03 -04:00
|
|
|
namespace OCP\Log;
|
2018-04-24 16:14:00 -04:00
|
|
|
|
2018-04-25 10:01:17 -04:00
|
|
|
/**
|
|
|
|
|
* Interface IFileBased
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
2018-04-24 16:14:00 -04:00
|
|
|
interface IFileBased {
|
2018-04-25 10:01:17 -04:00
|
|
|
/**
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function getLogFilePath():string;
|
2018-04-24 16:14:00 -04:00
|
|
|
|
2018-04-25 10:01:17 -04:00
|
|
|
/**
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
2020-10-05 09:12:57 -04:00
|
|
|
public function getEntries(int $limit = 50, int $offset = 0): array;
|
2018-04-24 16:14:00 -04:00
|
|
|
}
|