IFileBased.php 403 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Log;
  7. /**
  8. * Interface IFileBased
  9. *
  10. *
  11. * @since 14.0.0
  12. */
  13. interface IFileBased {
  14. /**
  15. * @since 14.0.0
  16. */
  17. public function getLogFilePath():string;
  18. /**
  19. * @since 14.0.0
  20. */
  21. public function getEntries(int $limit = 50, int $offset = 0): array;
  22. }