mirror of
https://github.com/nextcloud/server.git
synced 2025-03-04 20:14:50 +00:00
25 lines
515 B
PHP
25 lines
515 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCP\Support\CrashReport;
|
|
|
|
/**
|
|
* @since 15.0.0
|
|
*/
|
|
interface ICollectBreadcrumbs extends IReporter {
|
|
/**
|
|
* Collect breadcrumbs for crash reports
|
|
*
|
|
* @param string $message
|
|
* @param string $category
|
|
* @param array $context
|
|
*
|
|
* @since 15.0.0
|
|
*/
|
|
public function collect(string $message, string $category, array $context = []);
|
|
}
|