aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Support/CrashReport/ICollectBreadcrumbs.php
blob: 54a88041b520d980e51a31bd12b41a0c36aa6e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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 = []);
}