ICollectBreadcrumbs.php 515 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Support\CrashReport;
  8. /**
  9. * @since 15.0.0
  10. */
  11. interface ICollectBreadcrumbs extends IReporter {
  12. /**
  13. * Collect breadcrumbs for crash reports
  14. *
  15. * @param string $message
  16. * @param string $category
  17. * @param array $context
  18. *
  19. * @since 15.0.0
  20. */
  21. public function collect(string $message, string $category, array $context = []);
  22. }